mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
- fix a bug in IntGetMenuDefaultItem
svn path=/trunk/; revision=30039
This commit is contained in:
parent
dc1e031efd
commit
fc74dc4764
|
@ -1262,7 +1262,7 @@ IntGetMenuDefaultItem(PMENU_OBJECT MenuObject, UINT fByPos, UINT gmdiFlags,
|
||||||
if(!(gmdiFlags & GMDI_USEDISABLED) && (MenuItem->fState & MFS_DISABLED))
|
if(!(gmdiFlags & GMDI_USEDISABLED) && (MenuItem->fState & MFS_DISABLED))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if(fByPos & MF_BYPOSITION)
|
if(fByPos)
|
||||||
res = x;
|
res = x;
|
||||||
else
|
else
|
||||||
res = MenuItem->wID;
|
res = MenuItem->wID;
|
||||||
|
|
Loading…
Reference in a new issue