mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
fix the case when the expansion is both an exact match and a sub-string
This commit is contained in:
parent
e3c38e7774
commit
bb084d5f14
2 changed files with 2 additions and 2 deletions
|
@ -655,7 +655,7 @@ Con_CompleteCommandLine (void)
|
|||
key_lines[edit_line][1] = '/';
|
||||
strncpy(key_lines[edit_line] + 2, cmd, cmd_len);
|
||||
key_linepos = cmd_len + 2;
|
||||
if (!cmd[cmd_len]) {
|
||||
if (c + v + a == 1) {
|
||||
key_lines[edit_line][key_linepos] = ' ';
|
||||
key_linepos++;
|
||||
}
|
||||
|
|
|
@ -655,7 +655,7 @@ Con_CompleteCommandLine (void)
|
|||
key_lines[edit_line][1] = '/';
|
||||
strncpy(key_lines[edit_line] + 2, cmd, cmd_len);
|
||||
key_linepos = cmd_len + 2;
|
||||
if (!cmd[cmd_len]) {
|
||||
if (c + v + a == 1) {
|
||||
key_lines[edit_line][key_linepos] = ' ';
|
||||
key_linepos++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue