Commit bc2ae78b authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Invalid buttons are "hidden".

parent 4dc1892a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment