Author: jimtabor
Date: Thu Aug 6 13:17:27 2015
New Revision: 68605
URL:
http://svn.reactos.org/svn/reactos?rev=68605&view=rev
Log:
[User32]
- Fix a old code port that was missed from the last menu rewrite.
Modified:
trunk/reactos/win32ss/user/user32/windows/menu.c
Modified: trunk/reactos/win32ss/user/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] Thu Aug 6 13:17:27
2015
@@ -1005,9 +1005,9 @@
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