diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index d1478a183af..ab92d6d170b 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -683,7 +683,7 @@ TREEVIEW_UpdateDispInfo(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem, NMTVDISPINFOA callback; HWND hwnd = infoPtr->hwnd; - mask &= wineItem->callbackMask; + mask &= ~wineItem->callbackMask; if (mask == 0) return;