Fix things broken by the last TREEVIEW_UpdateDispInfo patch.

This commit is contained in:
Maxime Bellengé 2003-08-18 19:46:31 +00:00 committed by Alexandre Julliard
parent a851c88001
commit fb39442d7f

View file

@ -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;