Module: wine Branch: master Commit: 4f77b0037215559d573a6c11e62c6993c7f30e57 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4f77b0037215559d573a6c11e6...
Author: Peter Urbanec winehq.org@urbanec.net Date: Sat Feb 26 04:03:30 2011 +1100
comctl32: Use signed indices, so that the number of parts can be set to zero.
---
dlls/comctl32/status.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index eeaf299..d670370 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -661,7 +661,7 @@ static BOOL STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) { STATUSWINDOWPART *tmp; - UINT i, oldNumParts; + INT i, oldNumParts;
TRACE("(%d,%p)\n", count, parts);
@@ -693,7 +693,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) infoPtr->parts[i].x = parts[i];
if (infoPtr->hwndToolTip) { - UINT nTipCount; + INT nTipCount; TTTOOLINFOW ti;
ZeroMemory (&ti, sizeof(TTTOOLINFOW));