Closing "About Wine" dialog by Escape

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog:

	* dlls/shell32/shell32_main.c:
	Make it possible to close the "About Wine" dialog by pressing
	Escape.

-- 
Regards,
Pavel Roskin
--- dlls/shell32/shell32_main.c
+++ dlls/shell32/shell32_main.c
@@ -844,8 +844,9 @@ INT_PTR CALLBACK AboutDlgProc( HWND hWnd
 	break;
 
     case WM_COMMAND:
-        if (wParam == IDOK)
-    {  EndDialog(hWnd, TRUE);
+        if (wParam == IDOK || wParam == IDCANCEL)
+        {
+            EndDialog(hWnd, TRUE);
             return TRUE;
         }
         break;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux