mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
- fix a bug in IntGetMenuDefaultItem
svn path=/trunk/; revision=30039
This commit is contained in:
@@ -1262,7 +1262,7 @@ IntGetMenuDefaultItem(PMENU_OBJECT MenuObject, UINT fByPos, UINT gmdiFlags,
|
||||
if(!(gmdiFlags & GMDI_USEDISABLED) && (MenuItem->fState & MFS_DISABLED))
|
||||
break;
|
||||
|
||||
if(fByPos & MF_BYPOSITION)
|
||||
if(fByPos)
|
||||
res = x;
|
||||
else
|
||||
res = MenuItem->wID;
|
||||
|
||||
Reference in New Issue
Block a user