Workaround of issue 167: Unicode only enabled while entering text, so at all other moments there's no SDL crash when pressing ^ key (French or German keyboard) on Windows 98

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@812 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-05-22 18:14:13 +00:00
parent 4f157197e8
commit e8dd8588d0
3 changed files with 7 additions and 1 deletions

1
main.c
View File

@@ -404,7 +404,6 @@ int Init_program(int argc,char * argv[])
}
Joystick = SDL_JoystickOpen(0);
SDL_EnableKeyRepeat(250, 32);
SDL_EnableUNICODE(SDL_ENABLE);
if(ALPHA_BETA[0]=='ß')
SDL_WM_SetCaption("GrafX2 beta "PERCENTAGE_VERSION,"GrafX2");
else