From 67bcb9ab2bcd5c3ef89d05b17622ad4b1aaeb4ac Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 27 Sep 2011 11:35:31 +0200 Subject: Rename: cmumble_command_{complete=>expand_shortcut} --- src/commands.c | 2 +- src/commands.h | 2 +- src/io.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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, -- cgit