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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@75 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2010-02-20 08:29:48 +00:00
parent e3d6b98d8b
commit ba628ca477

View file

@ -1028,6 +1028,11 @@ void Con_TabComplete (void)
key_lines[edit_line][key_linepos] = ' ';
key_linepos++;
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;
}
}