forked from Mirrors/wine-wine
Fixed test so 0xffffffff is properly recognized.
parent
ebbb9ebeed
commit
0d0cc390c3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue