Commit d93d3d5a authored by Thorsten Kani's avatar Thorsten Kani Committed by Alexandre Julliard

Use address of tab_item.extra when building drawitemstruct.

parent 535679ae
...@@ -1659,8 +1659,7 @@ TAB_DrawItemInterior ...@@ -1659,8 +1659,7 @@ TAB_DrawItemInterior
dis.hwndItem = hwnd; /* */ dis.hwndItem = hwnd; /* */
dis.hDC = hdc; dis.hDC = hdc;
CopyRect(&dis.rcItem,drawRect); CopyRect(&dis.rcItem,drawRect);
dis.itemData = 0; dis.itemData = (ULONG_PTR)TAB_GetItem(infoPtr, iItem)->extra;
memcpy( &dis.itemData, TAB_GetItem(infoPtr, iItem)->extra, min(sizeof(dis.itemData),infoPtr->cbInfo) );
/* /*
* send the draw message * send the draw message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment