Commit bad47392 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Ignore high word of wParam when handling WM_COMMAND in the MessageBox

proc.
parent b922aad0
......@@ -285,7 +285,7 @@ static INT_PTR CALLBACK MSGBOX_DlgProc( HWND hwnd, UINT message,
}
case WM_COMMAND:
switch (wParam)
switch (LOWORD(wParam))
{
case IDOK:
case IDCANCEL:
......
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