comctl32: Fix size parameter for memset (Coccinelle).

This commit is contained in:
Paul Vriens 2010-01-11 08:51:01 +01:00 committed by Alexandre Julliard
parent d3bc43b5ed
commit 9cf1af7cac
1 changed files with 1 additions and 1 deletions

View File

@ -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 :