diff options
Diffstat (limited to 'src/config/theme.c')
-rw-r--r-- | src/config/theme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index 61346167..26c3c669 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -430,8 +430,8 @@ _load_preferences(void) if (g_key_file_has_key(theme, "ui", "roster.contact.char", NULL)) { gchar* ch = g_key_file_get_string(theme, "ui", "roster.contact.char", NULL); - if (ch && strlen(ch) > 0) { - prefs_set_roster_contact_char(ch[0]); + if (ch && g_utf8_strlen(ch, 4) == 1) { + prefs_set_roster_contact_char(ch); g_free(ch); } } |