Commit 32ca21ca authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

A treeview item may be TVI_ROOT.

parent a1aeeb2b
......@@ -2039,6 +2039,8 @@ TREEVIEW_GetNextItem(TREEVIEW_INFO *infoPtr, UINT which, HTREEITEM wineItem)
return (LRESULT)retval;
}
if (wineItem == TVI_ROOT) wineItem = infoPtr->root;
if (!TREEVIEW_ValidItem(infoPtr, wineItem))
return FALSE;
......
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