diff options
author | James Booth <boothj5@gmail.com> | 2013-06-24 21:38:02 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-06-24 21:38:02 +0100 |
commit | b48ef9d5e0e15ea567566435401c217806cdf011 (patch) | |
tree | c09ca396b12e53d82f1c69dd915c0d95c0491696 /src/command | |
parent | ccfbd2a436fc671636d67bfb2c364d30c10aedac (diff) | |
download | profani-tty-b48ef9d5e0e15ea567566435401c217806cdf011.tar.gz |
Renamed commands array
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 6 |
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); |