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:47:15 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-10-22 16:54:05 +0200
commit1c96115f97c1d72a12840a81ea54b8efd0f2a162 (patch)
treee6f93f256fb78ac5568fb714cf46eb26ac8b3c01 /src/command
parentfa2881fcea9009ffbd50947d755a4c847a157cae (diff)
downloadprofani-tty-1c96115f97c1d72a12840a81ea54b8efd0f2a162.tar.gz
Allow utf8 in occupants 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 58c08331..734401f4 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -4414,8 +4414,8 @@ cmd_occupants(ProfWin* window, const char* const command, gchar** args)
 
             occupantswin_occupants_all();
         } else {
-            prefs_set_occupants_char(args[1][0]);
-            cons_show("Occupants char set to %c.", args[1][0]);
+            prefs_set_occupants_char(args[1]);
+            cons_show("Occupants char set to %s.", args[1]);
 
             occupantswin_occupants_all();
         }