Invalid buttons are "hidden".

This commit is contained in:
Andreas Mohr 2000-12-13 01:49:51 +00:00 committed by Alexandre Julliard
parent 4dc1892a06
commit bc2ae78bee
1 changed files with 1 additions and 1 deletions

View File

@ -2945,7 +2945,7 @@ TOOLBAR_IsButtonHidden (HWND hwnd, WPARAM wParam, LPARAM lParam)
nIndex = TOOLBAR_GetButtonIndex (infoPtr, (INT)wParam);
if (nIndex == -1)
return FALSE;
return TRUE;
return (infoPtr->buttons[nIndex].fsState & TBSTATE_HIDDEN);
}