From 1ea1c3d0e5b881884ad85a1c04ac07cbef8881d8 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 8 Apr 2011 12:00:44 +0200 Subject: [PATCH] progman: Fix accelerator support. --- programs/progman/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/progman/main.c b/programs/progman/main.c index f67a62f9418..4d9393f2177 100644 --- a/programs/progman/main.c +++ b/programs/progman/main.c @@ -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;