Francois Gouget : progman: Fix accelerator support.

Alexandre Julliard julliard at winehq.org
Fri Apr 8 10:50:58 CDT 2011


Module: wine
Branch: master
Commit: 1ea1c3d0e5b881884ad85a1c04ac07cbef8881d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1ea1c3d0e5b881884ad85a1c04ac07cbef8881d8

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Apr  8 12:00:44 2011 +0200

progman: Fix accelerator support.

---

 programs/progman/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/progman/main.c b/programs/progman/main.c
index f67a62f..4d9393f 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;
 




More information about the wine-cvs mailing list