mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
in_sdl.c: rewrite TEXTINPUT handling a bit again.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1094 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ab973d9f14
commit
9bb2c0d702
1 changed files with 4 additions and 4 deletions
|
@ -629,10 +629,10 @@ void IN_SendKeyEvents (void)
|
|||
// (shift for uppercase, etc.) for us.
|
||||
if (!Key_IgnoreTextInput(lastKeyDown))
|
||||
{
|
||||
int i;
|
||||
for (i = 0; event.text.text[i]; i++)
|
||||
if ((event.text.text[i] & ~0x7F) == 0)
|
||||
Char_Event (event.text.text[i]);
|
||||
unsigned char *ch;
|
||||
for (ch = (unsigned char *)event.text.text; *ch; ch++)
|
||||
if ((*ch & ~0x7F) == 0)
|
||||
Char_Event (*ch);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue