Renamed help autocompleter

This commit is contained in:
James Booth
2012-10-21 23:39:42 +01:00
parent 7a1c76fbb7
commit f419445d4d
3 changed files with 6 additions and 6 deletions

View File

@@ -162,7 +162,7 @@ inp_get_char(int *ch, char *input, int *size)
reset_search_attempts();
reset_login_search();
help_reset_completer();
cmd_help_reset_completer();
cmd_reset_completer();
}
}
@@ -373,7 +373,7 @@ _handle_edit(const int ch, char *input, int *size)
inp_cpy[i-6] = input[i];
}
inp_cpy[(*size) - 6] = '\0';
found = help_complete(inp_cpy);
found = cmd_help_complete(inp_cpy);
if (found != NULL) {
auto_msg = (char *) malloc((6 + (strlen(found) + 1)) * sizeof(char));
strcpy(auto_msg, "/help ");