mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-14 06:43:27 +00:00
in_sdl.c: rewrite TEXTINPUT handling a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1063 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
82303ddd7e
commit
1951afb09c
1 changed files with 4 additions and 4 deletions
|
@ -606,10 +606,10 @@ void IN_SendKeyEvents (void)
|
|||
// (shift for uppercase, etc.) for us.
|
||||
if (!Key_ConsoleBindable(lastKeyDown))
|
||||
{
|
||||
unsigned char *ch;
|
||||
for (ch = (unsigned char *)event.text.text; ch[0] != 0; ch++)
|
||||
if ((ch[0] & 0x80) == 0)
|
||||
Char_Event (ch[0]);
|
||||
int i;
|
||||
for (i = 0; event.text.text[i]; i++)
|
||||
if ((event.text.text[i] & 0x80) == 0)
|
||||
Char_Event (event.text.text[i]);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue