Added quote param to autocomplete_complete

This commit is contained in:
James Booth
2014-07-09 20:23:47 +01:00
parent 0c9851106b
commit 954661e59e
10 changed files with 23 additions and 23 deletions

View File

@@ -1272,7 +1272,7 @@ cmd_autocomplete(char *input, int *size)
inp_cpy[i] = input[i];
}
inp_cpy[i] = '\0';
found = autocomplete_complete(commands_ac, inp_cpy);
found = autocomplete_complete(commands_ac, inp_cpy, TRUE);
if (found != NULL) {
char *auto_msg = strdup(found);
ui_replace_input(input, auto_msg, size);