Commit b6484ccb authored by Alasdair Sinclair's avatar Alasdair Sinclair Committed by Alexandre Julliard

comctl32/tab: Fully initialize itemData to fix x64 test failure.

parent 6ee16099
......@@ -1770,6 +1770,7 @@ TAB_DrawItemInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
{
/* this could be considered broken on 64 bit, but that's how it works -
only first 4 bytes are copied */
dis.itemData = 0;
memcpy(&dis.itemData, (ULONG_PTR*)TAB_GetItem(infoPtr, iItem)->extra, 4);
}
......
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