mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
console.c (Con_TabComplete): added a workaround after the weirdness that has
been happening with the argument completion for the changelevel command after the completion changes. from Steven. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@75 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7a3e347d0a
commit
a759b9f4eb
1 changed files with 5 additions and 0 deletions
|
@ -1028,6 +1028,11 @@ void Con_TabComplete (void)
|
||||||
key_lines[edit_line][key_linepos] = ' ';
|
key_lines[edit_line][key_linepos] = ' ';
|
||||||
key_linepos++;
|
key_linepos++;
|
||||||
key_lines[edit_line][key_linepos] = 0;
|
key_lines[edit_line][key_linepos] = 0;
|
||||||
|
// S.A.: the map argument completion (may be in combination with the bash-style
|
||||||
|
// display behavior changes, causes weirdness when completing the arguments for
|
||||||
|
// the changelevel command. the line below "fixes" it, although I'm not sure about
|
||||||
|
// the reason, yet, neither do I know any possible side effects of it:
|
||||||
|
c = key_lines[edit_line] + key_linepos;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue