mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Use address of tab_item.extra when building drawitemstruct.
This commit is contained in:
parent
535679aec7
commit
d93d3d5ada
@ -1659,8 +1659,7 @@ TAB_DrawItemInterior
|
||||
dis.hwndItem = hwnd; /* */
|
||||
dis.hDC = hdc;
|
||||
CopyRect(&dis.rcItem,drawRect);
|
||||
dis.itemData = 0;
|
||||
memcpy( &dis.itemData, TAB_GetItem(infoPtr, iItem)->extra, min(sizeof(dis.itemData),infoPtr->cbInfo) );
|
||||
dis.itemData = (ULONG_PTR)TAB_GetItem(infoPtr, iItem)->extra;
|
||||
|
||||
/*
|
||||
* send the draw message
|
||||
|
Loading…
Reference in New Issue
Block a user