Allow utf8 in roster room private char
This commit is contained in:
@@ -1507,11 +1507,13 @@ cons_roster_setting(void)
|
||||
cons_show("Roster room char (/roster) : none");
|
||||
}
|
||||
|
||||
char room_priv_ch = prefs_get_roster_room_private_char();
|
||||
if (room_priv_ch)
|
||||
char* room_priv_ch = prefs_get_roster_room_private_char();
|
||||
if (room_priv_ch) {
|
||||
cons_show("Roster room private char (/roster) : %c", room_priv_ch);
|
||||
else
|
||||
free(room_priv_ch);
|
||||
} else {
|
||||
cons_show("Roster room private char (/roster) : none");
|
||||
}
|
||||
|
||||
char* private_ch = prefs_get_roster_private_char();
|
||||
if (private_ch) {
|
||||
|
||||
@@ -857,9 +857,10 @@ _rosterwin_room(ProfLayoutSplit* layout, ProfMucWin* mucwin)
|
||||
g_string_append_printf(privmsg, "(%d) ", privwin->unread);
|
||||
}
|
||||
|
||||
char ch = prefs_get_roster_room_private_char();
|
||||
ch = prefs_get_roster_room_private_char();
|
||||
if (ch) {
|
||||
g_string_append_printf(privmsg, "%c", ch);
|
||||
g_string_append_printf(privmsg, "%s", ch);
|
||||
free(ch);
|
||||
}
|
||||
|
||||
char* nick = privwin->fulljid + strlen(mucwin->roomjid) + 1;
|
||||
|
||||
Reference in New Issue
Block a user