Fix issue 180: Quicksearch filenames and brush resize shortcuts don't work
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@874 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
daa38a37fb
commit
cc4e60954f
1
main.c
1
main.c
@ -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");
|
||||
|
||||
{
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user