mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r200) -Fix: oops, ALT+F4 didn't work anymore. Fixed now.
This commit is contained in:
parent
2cd8a89d44
commit
ddeae85be4
6
win32.c
6
win32.c
@ -312,9 +312,11 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
|
|||||||
case VK_RETURN: /* Full Screen */
|
case VK_RETURN: /* Full Screen */
|
||||||
MakeWindow(!_wnd.fullscreen);
|
MakeWindow(!_wnd.fullscreen);
|
||||||
return 0;
|
return 0;
|
||||||
default: /* just ALT or ALT in combination with something else */
|
case VK_MENU: /* Just ALT */
|
||||||
|
return 0; // do nothing
|
||||||
|
default: /* ALT in combination with something else */
|
||||||
_pressed_key = MapWindowsKey(wParam) << 16;
|
_pressed_key = MapWindowsKey(wParam) << 16;
|
||||||
return 0; // game doesn't have a title-bar, so just ignore that
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WM_NCMOUSEMOVE:
|
case WM_NCMOUSEMOVE:
|
||||||
|
Loading…
Reference in New Issue
Block a user