progman: Fix accelerator support.
This commit is contained in:
parent
01839d190b
commit
1ea1c3d0e5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue