Treeview trivial edit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 <<diff32.txt>> 
Bill Medland (medbi01@accpac.com)
A treeview item may be TVI_ROOT

Index: wine/dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.94
diff -u -r1.94 treeview.c
--- wine/dlls/comctl32/treeview.c	2001/08/20 18:00:54	1.94
+++ wine/dlls/comctl32/treeview.c	2001/12/07 20:55:55
@@ -2039,6 +2039,8 @@
 	return (LRESULT)retval;
     }
 
+    if (wineItem == TVI_ROOT) wineItem = infoPtr->root;
+
     if (!TREEVIEW_ValidItem(infoPtr, wineItem))
 	return FALSE;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux