about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-06-24 21:38:02 +0100
committerJames Booth <boothj5@gmail.com>2013-06-24 21:38:02 +0100
commitb48ef9d5e0e15ea567566435401c217806cdf011 (patch)
treec09ca396b12e53d82f1c69dd915c0d95c0491696
parentccfbd2a436fc671636d67bfb2c364d30c10aedac (diff)
downloadprofani-tty-b48ef9d5e0e15ea567566435401c217806cdf011.tar.gz
Renamed commands array
-rw-r--r--src/command/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/command.c b/src/command/command.c
index eb9f29dd..cd2ce744 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1300,11 +1300,11 @@ _cmd_complete_parameters(char *input, int *size)
         return;
     }
 
-    gchar *commands[] = { "/help", "/prefs", "/log", "/disco", "/close", "/wins" };
+    gchar *cmds[] = { "/help", "/prefs", "/log", "/disco", "/close", "/wins" };
     Autocomplete completers[] = { help_ac, prefs_ac, log_ac, disco_ac, close_ac, wins_ac };
 
-    for (i = 0; i < ARRAY_SIZE(commands); i++) {
-        result = autocomplete_param_with_ac(input, size, commands[i], completers[i]);
+    for (i = 0; i < ARRAY_SIZE(cmds); i++) {
+        result = autocomplete_param_with_ac(input, size, cmds[i], completers[i]);
         if (result != NULL) {
             inp_replace_input(input, result, size);
             g_free(result);