about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-10-22 16:23:18 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-10-22 16:23:18 +0200
commita668ca45b78bf9653f93c0380e58101da3c3bced (patch)
tree7aaa5c56212fbe63f3045b622e18df0beaf753dd /src/command
parent91898597dd15d2d8661ab587a69585b232b7d00e (diff)
downloadprofani-tty-a668ca45b78bf9653f93c0380e58101da3c3bced.tar.gz
Allow utf8 in roster contact 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 3f221ff3..575ccaf3 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -2407,8 +2407,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
                 cons_show("Roster contact char removed.");
                 rosterwin_roster();
             } else {
-                prefs_set_roster_contact_char(args[2][0]);
-                cons_show("Roster contact char set to %c.", args[2][0]);
+                prefs_set_roster_contact_char(args[2]);
+                cons_show("Roster contact char set to %s.", args[2]);
                 rosterwin_roster();
             }
         } else if (g_strcmp0(args[1], "indent") == 0) {