summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands.c2
-rw-r--r--src/commands.h2
-rw-r--r--src/io.c2
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_ */
diff --git a/src/io.c b/src/io.c
index 25b3af6..e3b9bcb 100644
--- a/src/io.c
+++ b/src/io.c
@@ -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,