Fixed test so 0xffffffff is properly recognized.

This commit is contained in:
Guy L. Albertelli 2001-06-24 00:21:40 +00:00 committed by Alexandre Julliard
parent ebbb9ebeed
commit 0d0cc390c3

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;