Commit b079de35 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

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

parent d31d27f7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment