Fix getting key code in SDL

git-svn-id: svn://kolibrios.org@6351 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2016-03-16 13:02:05 +00:00
parent bd2ce8aeba
commit ce0a4cfd85

View File

@ -173,7 +173,7 @@ void MenuetOS_PumpEvents(_THIS)
MenuetOS_SDL_RepaintWnd();
break;
case 2:
key.scancode = get_key;
key.scancode = get_key().code;
if (key.scancode == 0xE0 || key.scancode == 0xE1)
{ext_code=key.scancode;break;}
if (ext_code == 0xE1 && (key.scancode & 0x7F) == 0x1D) break;