Changeset - r198:4edbf0a19c03
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-09-11 00:19:53
darkvater@openttd.org
(svn r199) -Fix: [993374] Pressing alt locks the game - sort of a bug. I hope I didn't break anything :O
1 file changed with 4 insertions and 4 deletions:
win32.c
4
4
0 comments (0 inline, 0 general)
win32.c
Show inline comments
 
@@ -307,14 +307,14 @@ static LRESULT CALLBACK WndProcGdi(HWND 
 
		break;
 

	
 

	
 
	case WM_SYSKEYDOWN:
 
	case WM_SYSKEYDOWN: /* user presses F10 or Alt, both activating the title-menu */
 
		switch(wParam) {
 
		case VK_RETURN:
 
		case VK_RETURN: /* Full Screen */
 
			MakeWindow(!_wnd.fullscreen);
 
			return 0;
 
		default:
 
		default: /* just ALT or ALT in combination with something else */
 
			_pressed_key = MapWindowsKey(wParam) << 16;
 
			break;
 
			return 0; // game doesn't have a title-bar, so just ignore that
 
		}
 
		break;
 
	case WM_NCMOUSEMOVE:
0 comments (0 inline, 0 general)