Make it possible to close the "About Wine" dialog by pressing Escape.
This commit is contained in:
parent
d31d27f716
commit
b079de35ce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue