diff options
-rw-r--r-- | src/commands.c | 2 | ||||
-rw-r--r-- | src/commands.h | 2 | ||||
-rw-r--r-- | src/io.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.c b/src/commands.c index d6c12a9..b89c5a4 100644 --- a/src/commands.c +++ b/src/commands.c @@ -69,7 +69,7 @@ static const struct cmumble_command commands[] = { }; const char * -cmumble_command_complete(const char *text) +cmumble_command_expand_shortcut(const char *text) { int i = 0; int found_index = -1; diff --git a/src/commands.h b/src/commands.h index 1c56860..6ea8c67 100644 --- a/src/commands.h +++ b/src/commands.h @@ -13,6 +13,6 @@ void cmumble_commands_init(struct cmumble_context *ctx); const char * -cmumble_command_complete(const char *text); +cmumble_command_expand_shortcut(const char *text); #endif /* _COMMANDS_H_ */ @@ -95,7 +95,7 @@ process_line(char *line) } cmd = skip_whitespace(line); - cmd = cmumble_command_complete(cmd); + cmd = cmumble_command_expand_shortcut(cmd); for (i = 0; ctx->commands[i].name; ++i) { if (strncmp(cmd, ctx->commands[i].name, |