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:
Yves Rizoud
2009-05-08 19:00:41 +00:00
parent 9d19d8785a
commit 29bfd973d3
2 changed files with 11 additions and 1 deletions

View File

@@ -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();