From d04cdb8681cd6e90bd774a9495ea0ba881450554 Mon Sep 17 00:00:00 2001 From: turbocat Date: Tue, 31 Aug 2021 20:19:46 +0000 Subject: [PATCH] SDL for NewLibc: Added fake conversion to utf8 for compatibility. git-svn-id: svn://kolibrios.org@9170 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../SDL-1.2.2_newlib/src/video/menuetos/SDL_menuetevents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/menuetos/SDL_menuetevents.c b/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/menuetos/SDL_menuetevents.c index c3ea47deb2..9f0d8c4f89 100755 --- a/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/menuetos/SDL_menuetevents.c +++ b/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/menuetos/SDL_menuetevents.c @@ -194,8 +194,9 @@ void MenuetOS_PumpEvents(_THIS) key.sym = sdlkeys_shift[key.scancode]; else key.sym = sdlkeys[key.scancode]; + key.unicode=key.sym; ext_code = 0; - if (!key.sym) break; + if (!key.sym) break; SDL_PrivateKeyboard(code,&key); break; case 3: