mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
Only lower word is used with dwTypeData as bitmap handle.
svn path=/trunk/; revision=23587
This commit is contained in:
parent
b01f9a2937
commit
a2976ce0d4
1 changed files with 5 additions and 5 deletions
|
@ -788,12 +788,12 @@ IntSetMenuItemInfo(PMENU_OBJECT MenuObject, PMENU_ITEM MenuItem, PROSMENUITEMINF
|
|||
}
|
||||
if(lpmii->fType & MFT_BITMAP)
|
||||
{
|
||||
// if(lpmii->hbmpItem)
|
||||
if(lpmii->hbmpItem)
|
||||
MenuItem->hbmpItem = lpmii->hbmpItem;
|
||||
// else
|
||||
// { /* Win 9x/Me stuff */
|
||||
// MenuItem->hbmpItem = (HBITMAP)lpmii->dwTypeData;
|
||||
// }
|
||||
else
|
||||
{ /* Win 9x/Me stuff */
|
||||
MenuItem->hbmpItem = (HBITMAP)((ULONG_PTR)(LOWORD(lpmii->dwTypeData)));
|
||||
}
|
||||
}
|
||||
MenuItem->fType |= lpmii->fType;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue