about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 609b3817..b9c77b10 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1301,7 +1301,7 @@ _cmd_tiny(const char * const inp, struct cmd_help_t help)
     if (args == NULL) {
         cons_show("Usage: %s", help.usage);
         if (win_in_chat()) {
-            char usage[strlen(help.usage + 8)];
+            char usage[strlen(help.usage) + 8];
             sprintf(usage, "Usage: %s", help.usage);
             win_show(usage);
         }