Changed window caption
Fix: Made the "Safe resolution" shortcut do nothing in windowed mode. (issue 118) git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@792 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
9d19d8785a
commit
29bfd973d3
10
buttons.c
10
buttons.c
@ -1637,9 +1637,19 @@ void Button_Resolution(void)
|
||||
|
||||
void Button_Safety_resolution(void)
|
||||
{
|
||||
// In windowed mode, do nothing
|
||||
if (Current_resolution==0)
|
||||
{
|
||||
Hide_cursor();
|
||||
Unselect_button(BUTTON_RESOL);
|
||||
Display_cursor();
|
||||
return;
|
||||
}
|
||||
|
||||
Hide_cursor();
|
||||
|
||||
Unselect_button(BUTTON_MAGNIFIER);
|
||||
|
||||
Init_mode_video(640, 400, 0,PIXEL_SIMPLE);
|
||||
Current_resolution=0;
|
||||
Display_menu();
|
||||
|
||||
2
main.c
2
main.c
@ -405,7 +405,7 @@ int Init_program(int argc,char * argv[])
|
||||
SDL_EnableKeyRepeat(250, 32);
|
||||
SDL_EnableUNICODE(SDL_ENABLE);
|
||||
if(ALPHA_BETA[0]=='ß')
|
||||
SDL_WM_SetCaption("GrafX2 beta "PERCENTAGE_VERSION""" - USE AT YOUR OWN RISK","GrafX2");
|
||||
SDL_WM_SetCaption("GrafX2 beta "PERCENTAGE_VERSION,"GrafX2");
|
||||
else
|
||||
SDL_WM_SetCaption("GrafX2 v2.00 final","GrafX2");
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user