progman: Fix accelerator support.

This commit is contained in:
Francois Gouget 2011-04-08 12:00:44 +02:00 committed by Alexandre Julliard
parent 01839d190b
commit 1ea1c3d0e5

View File

@ -180,8 +180,8 @@ static LRESULT CALLBACK MAIN_MainWndProc(HWND hWnd, UINT msg,
break;
case WM_COMMAND:
if (wParam < PM_FIRST_CHILD){
MAIN_MenuCommand(hWnd, wParam, lParam);
if (LOWORD(wParam) < PM_FIRST_CHILD){
MAIN_MenuCommand(hWnd, LOWORD(wParam), lParam);
}
break;