(svn r200) -Fix: oops, ALT+F4 didn't work anymore. Fixed now.
authordarkvater
Sat, 11 Sep 2004 00:36:06 +0000
changeset 199 10f6a586bfa6
parent 198 0f3481fa50e1
child 200 03b8104d1479
(svn r200) -Fix: oops, ALT+F4 didn't work anymore. Fixed now.
win32.c
--- a/win32.c	Sat Sep 11 00:19:53 2004 +0000
+++ b/win32.c	Sat Sep 11 00:36:06 2004 +0000
@@ -312,9 +312,11 @@
 		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: