Skip to content
Snippets Groups Projects
Commit 044a3531 authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard
Browse files

Correct the check for changed treeview items, so item sets repaint

properly.
parent 78675ba2
Branches
Tags
No related merge requests found
......@@ -2043,13 +2043,13 @@ TREEVIEW_SetItemA(TREEVIEW_INFO *infoPtr, LPTVITEMEXA tvItem)
if (!TREEVIEW_ValidItem(infoPtr, wineItem))
return FALSE;
/* store the orignal item values */
originalItem = *wineItem;
if (!TREEVIEW_DoSetItem(infoPtr, wineItem, tvItem))
return FALSE;
/* store the orignal item values */
originalItem = *wineItem;
/* If the text or TVIS_BOLD was changed, and it is visible, recalculate. */
if ((tvItem->mask & TVIF_TEXT
|| (tvItem->mask & TVIF_STATE && tvItem->stateMask & TVIS_BOLD))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment