Skip to content
Snippets Groups Projects
Commit b079de35 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard
Browse files

Make it possible to close the "About Wine" dialog by pressing Escape.

parent d31d27f7
No related branches found
No related tags found
No related merge requests found
......@@ -844,8 +844,9 @@ INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
break;
case WM_COMMAND:
if (wParam == IDOK)
{ EndDialog(hWnd, TRUE);
if (wParam == IDOK || wParam == IDCANCEL)
{
EndDialog(hWnd, TRUE);
return TRUE;
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment