comctl32: Fix size parameter for memset (Coccinelle).
This commit is contained in:
parent
d3bc43b5ed
commit
9cf1af7cac
|
@ -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 :
|
||||
|
|
Loading…
Reference in New Issue