Commit 9cf1af7c authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32: Fix size parameter for memset (Coccinelle).

parent d3bc43b5
......@@ -2409,7 +2409,7 @@ REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, LPREBARBANDINFOW lprbbi, BOOL
TRACE("index %d!\n", iIndex);
/* initialize band */
memset(lpBand, 0, sizeof(lpBand));
memset(lpBand, 0, sizeof(*lpBand));
lpBand->clrFore = infoPtr->clrText == CLR_NONE ? infoPtr->clrBtnText :
infoPtr->clrText;
lpBand->clrBack = infoPtr->clrBk == CLR_NONE ? infoPtr->clrBtnFace :
......
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