Commit fb39442d authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard

Fix things broken by the last TREEVIEW_UpdateDispInfo patch.

parent a851c880
......@@ -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;
......@@ -1151,6 +1151,9 @@ TREEVIEW_DoSetItem(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
tvItem->stateMask);
wineItem->state &= ~tvItem->stateMask;
wineItem->state |= (tvItem->state & tvItem->stateMask);
if (tvItem->stateMask & TVIS_BOLD)
callbackSet |= TVIF_TEXT;
}
wineItem->callbackMask |= callbackSet;
......
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