Fixed issue 167: Crashes on win98 with international keyboards (SDL.DLL, recompiled from 1.2.13 source archive)

Fixed old bug (all platforms): When typing text with dead-keys like ^ ` it would additionally type the character on same key for US-QWERTY keyboard.
Removed the "disable Unicode" option added in r814, no longer needed.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@816 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-05-23 01:29:18 +00:00
parent 9e4866e34c
commit 4191b37099
7 changed files with 14 additions and 76 deletions

View File

@@ -142,8 +142,7 @@ byte Readline_ex(word x_pos,word y_pos,char * str,byte visible_size,byte max_siz
byte offset=0; // index du premier caractère affiché
if (Config.Use_unicode)
SDL_EnableUNICODE(SDL_ENABLE);
SDL_EnableUNICODE(SDL_ENABLE);
Hide_cursor();
// Effacement de la chaîne
@@ -349,8 +348,7 @@ affichage:
Update_rect(Window_pos_X+(x_pos*Menu_factor_X),Window_pos_Y+(y_pos*Menu_factor_Y),
visible_size*(Menu_factor_X<<3),(Menu_factor_Y<<3));
if (Config.Use_unicode)
SDL_EnableUNICODE(SDL_DISABLE);
SDL_EnableUNICODE(SDL_DISABLE);
return (input_key==SDLK_RETURN);
}