Fixed test so 0xffffffff is properly recognized.

oldstable
Guy L. Albertelli 2001-06-24 00:21:40 +00:00 committed by Alexandre Julliard
parent ebbb9ebeed
commit 0d0cc390c3
1 changed files with 1 additions and 1 deletions

View File

@ -3372,7 +3372,7 @@ TOOLBAR_SetHotItem (HWND hwnd, WPARAM wParam)
{
infoPtr->nHotItem = (INT)wParam;
if (wParam >=0)
if ((INT)wParam >=0)
{
btnPtr = &infoPtr->buttons[(INT)wParam];
btnPtr->bHot = TRUE;