Changeset - r199:b7faf43292af
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-09-11 00:36:06
darkvater@openttd.org
(svn r200) -Fix: oops, ALT+F4 didn't work anymore. Fixed now.
1 file changed with 4 insertions and 2 deletions:
win32.c
4
2
0 comments (0 inline, 0 general)
win32.c
Show inline comments
 
@@ -312,9 +312,11 @@ static LRESULT CALLBACK WndProcGdi(HWND 
 
		case VK_RETURN: /* Full Screen */
 
			MakeWindow(!_wnd.fullscreen);
 
			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;
 
			return 0; // game doesn't have a title-bar, so just ignore that
 
			break;
 
		}
 
		break;
 
	case WM_NCMOUSEMOVE:
0 comments (0 inline, 0 general)