1
0
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:
Michael Vetter 2020-02-20 16:50:17 +01:00
parent 3ab4ae45f0
commit 280b718cfb

View File

@ -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);
} }
} }