mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 09:33:40 +00:00
[User32]
- Fix a old code port that was missed from the last menu rewrite. svn path=/trunk/; revision=68605
This commit is contained in:
parent
8ae14960c1
commit
7da324031a
1 changed files with 2 additions and 2 deletions
|
@ -1005,9 +1005,9 @@ static void FASTCALL MenuDrawBitmapItem(HDC hdc, PROSMENUITEMINFO lpitem, const
|
|||
switch ((INT_PTR)hbmToDraw)
|
||||
{
|
||||
case (INT_PTR)HBMMENU_SYSTEM:
|
||||
if (lpitem->dwTypeData)
|
||||
if (lpitem->dwItemData)
|
||||
{
|
||||
bmp = (HBITMAP)lpitem->dwTypeData;
|
||||
bmp = (HBITMAP)lpitem->dwItemData;
|
||||
if (!GetObjectW( bmp, sizeof(bm), &bm )) return;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue