Module: wine Branch: master Commit: b6484ccbebb67d107934f9b6d4a142eb70ac946d URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6484ccbebb67d107934f9b6d4...
Author: Alasdair Sinclair alasdairsinc@gmail.com Date: Wed Jun 1 03:24:30 2011 +0100
comctl32/tab: Fully initialize itemData to fix x64 test failure.
---
dlls/comctl32/tab.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 0424f7f..1ad8c53 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -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); }