about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-10-21 15:30:01 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-10-21 15:30:01 +0200
commit91898597dd15d2d8661ab587a69585b232b7d00e (patch)
treeaf631bfd5e6e18e29f31ece78369a907f7d0c3e0 /src/command
parent37e1699c84bfb34dafaee4cd061eedad79fc114d (diff)
downloadprofani-tty-91898597dd15d2d8661ab587a69585b232b7d00e.tar.gz
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:
https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674
https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
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 6e590598..3f221ff3 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -2388,8 +2388,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
                 cons_show("Roster header char removed.");
                 rosterwin_roster();
             } else {
-                prefs_set_roster_header_char(args[2][0]);
-                cons_show("Roster header char set to %c.", args[2][0]);
+                prefs_set_roster_header_char(args[2]);
+                cons_show("Roster header char set to %c.", args[2]);
                 rosterwin_roster();
             }
         } else {