diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-27 11:35:31 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-27 11:35:31 +0200 |
commit | 67bcb9ab2bcd5c3ef89d05b17622ad4b1aaeb4ac (patch) | |
tree | 3156f48d1b08179a48d475d4b8242171b3f08443 /src | |
parent | f82675af6510a48945237869b53c8fa82ba98933 (diff) | |
download | cmumble-67bcb9ab2bcd5c3ef89d05b17622ad4b1aaeb4ac.tar.gz cmumble-67bcb9ab2bcd5c3ef89d05b17622ad4b1aaeb4ac.tar.bz2 cmumble-67bcb9ab2bcd5c3ef89d05b17622ad4b1aaeb4ac.zip |
Rename: cmumble_command_{complete=>expand_shortcut}
Diffstat (limited to 'src')
-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, |