Fix wrong "if"

Filip Navara xnavara at volny.cz
Wed Sep 22 13:31:23 CDT 2004


Changelog:
Fix obviously wrong condition in an "if" statement.
-------------- next part --------------
Index: dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.151
diff -u -r1.151 treeview.c
--- dlls/comctl32/treeview.c	13 Sep 2004 23:22:30 -0000	1.151
+++ dlls/comctl32/treeview.c	14 Sep 2004 18:14:58 -0000
@@ -1967,7 +1967,7 @@
 
     if (tvItem->mask & TVIF_CHILDREN)
     {
-        if (TVIF_CHILDREN==I_CHILDRENCALLBACK)
+        if (wineItem->cChildren==I_CHILDRENCALLBACK)
             FIXME("I_CHILDRENCALLBACK not supported\n");
 	tvItem->cChildren = wineItem->cChildren;
     }


More information about the wine-patches mailing list