mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix theme setting correction char
Copy paste error. We actually set the omemo char..
This commit is contained in:
parent
3ab4ae45f0
commit
280b718cfb
@ -486,7 +486,7 @@ _load_preferences(void)
|
|||||||
if (g_key_file_has_key(theme, "ui", "correction.char", NULL)) {
|
if (g_key_file_has_key(theme, "ui", "correction.char", NULL)) {
|
||||||
gchar *ch = g_key_file_get_string(theme, "ui", "correction.char", NULL);
|
gchar *ch = g_key_file_get_string(theme, "ui", "correction.char", NULL);
|
||||||
if (ch && strlen(ch) > 0) {
|
if (ch && strlen(ch) > 0) {
|
||||||
prefs_set_omemo_char(ch[0]);
|
prefs_set_correction_char(ch[0]);
|
||||||
g_free(ch);
|
g_free(ch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user