Merged in the fix of Issue 180 from trunk r874

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@875 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-06-17 19:16:03 +00:00
commit 3b417545b2
2 changed files with 1 additions and 4 deletions

1
main.c
View File

@ -408,6 +408,7 @@ int Init_program(int argc,char * argv[])
}
Joystick = SDL_JoystickOpen(0);
SDL_EnableKeyRepeat(250, 32);
SDL_EnableUNICODE(SDL_ENABLE);
SDL_WM_SetCaption("GrafX2","GrafX2");
{

View File

@ -142,8 +142,6 @@ 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é
SDL_EnableUNICODE(SDL_ENABLE);
Hide_cursor();
// Effacement de la chaîne
Block(Window_pos_X+(x_pos*Menu_factor_X),Window_pos_Y+(y_pos*Menu_factor_Y),
@ -348,7 +346,5 @@ 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));
SDL_EnableUNICODE(SDL_DISABLE);
return (input_key==SDLK_RETURN);
}