aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-10-22 16:29:08 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-10-22 16:54:02 +0200
commit83ee4a27cb04f1fc314536e72993476d59bd42a2 (patch)
tree2b0bb2e3592dda7ae9e1914ff068e6ab301d9b9f /src/command
parenta668ca45b78bf9653f93c0380e58101da3c3bced (diff)
downloadprofani-tty-83ee4a27cb04f1fc314536e72993476d59bd42a2.tar.gz
Allow utf8 in roster resource char
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 575ccaf3..e0747d40 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -2442,8 +2442,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
cons_show("Roster resource char removed.");
rosterwin_roster();
} else {
- prefs_set_roster_resource_char(args[2][0]);
- cons_show("Roster resource char set to %c.", args[2][0]);
+ prefs_set_roster_resource_char(args[2]);
+ cons_show("Roster resource char set to %s.", args[2]);
rosterwin_roster();
}
} else if (g_strcmp0(args[1], "indent") == 0) {