Allow utf8 in roster private char

This commit is contained in:
Michael Vetter
2021-10-22 16:33:10 +02:00
parent 83ee4a27cb
commit 7faf15a18c
6 changed files with 22 additions and 27 deletions

View File

@@ -2680,8 +2680,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
cons_show("Roster private room chat char removed.");
rosterwin_roster();
} else {
prefs_set_roster_private_char(args[2][0]);
cons_show("Roster private room chat char set to %c.", args[2][0]);
prefs_set_roster_private_char(args[2]);
cons_show("Roster private room chat char set to %s.", args[2]);
rosterwin_roster();
}
return TRUE;