Fix input of trans-ASCII Unicode characters under SDL2
This commit is contained in:
@@ -470,6 +470,7 @@ ProcessInputEvent (const SDL_Event *Event)
|
||||
while (Event->text.text[i])
|
||||
{
|
||||
UniChar map_key = Event->text.text[i++];
|
||||
map_key &= 0xFF; /* Interpret as unsigned byte */
|
||||
|
||||
/* Decode any UTF-8 keys */
|
||||
if (map_key >= 0xC0 && map_key < 0xE0)
|
||||
|
||||
Reference in New Issue
Block a user