Author: janderwald
Date: Thu Nov 1 17:20:43 2007
New Revision: 30039
URL:
http://svn.reactos.org/svn/reactos?rev=30039&view=rev
Log:
- fix a bug in IntGetMenuDefaultItem
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/menu.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/menu.c Thu Nov 1 17:20:43 2007
@@ -1262,7 +1262,7 @@
if(!(gmdiFlags & GMDI_USEDISABLED) && (MenuItem->fState &
MFS_DISABLED))
break;
- if(fByPos & MF_BYPOSITION)
+ if(fByPos)
res = x;
else
res = MenuItem->wID;