mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Don't automatically append a space when results are from a custom completion handler
This commit is contained in:
parent
20422ddf04
commit
82e732b052
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ Con_BasicCompleteCommandLine (inputline_t *il)
|
|||
il->lines[il->edit_line][1] = '/';
|
||||
strncpy(il->lines[il->edit_line] + 2, overwrite, strlen(overwrite));
|
||||
il->linepos = strlen(overwrite) + 2;
|
||||
if (c + v + o == 1 && overwrite[strlen(overwrite)-1] != '/') {
|
||||
if (c + v == 1 && !o) {
|
||||
il->lines[il->edit_line][il->linepos] = ' ';
|
||||
il->linepos++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue