Allow utf8 in roster header char

This and the following commits should make a couple of more configs
allow utf8 chars so people can use their weird icons :-)

We did the same for the otr/omemo/pgp indicators at:
1f8b1eb740
5cf6ee1bc6
This commit is contained in:
Michael Vetter
2021-10-21 15:30:01 +02:00
parent 37e1699c84
commit 91898597dd
6 changed files with 32 additions and 29 deletions

View File

@@ -1475,11 +1475,12 @@ cons_roster_setting(void)
else
cons_show("Roster offline (/roster) : hide");
char header_ch = prefs_get_roster_header_char();
char* header_ch = prefs_get_roster_header_char();
if (header_ch)
cons_show("Roster header char (/roster) : %c", header_ch);
cons_show("Roster header char (/roster) : %s", header_ch);
else
cons_show("Roster header char (/roster) : none");
free(header_ch);
char contact_ch = prefs_get_roster_contact_char();
if (contact_ch)