[User32]
authorJames Tabor <james.tabor@reactos.org>
Thu, 6 Aug 2015 13:17:27 +0000 (13:17 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 6 Aug 2015 13:17:27 +0000 (13:17 +0000)
- Fix a old code port that was missed from the last menu rewrite.

svn path=/trunk/; revision=68605

reactos/win32ss/user/user32/windows/menu.c

index ebd1898..b902958 100644 (file)
@@ -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