[PATCH 3/6] Initialize item mask on item insert (Valgrind)

Nikolay Sivov nsivov at codeweavers.com
Sat Jan 29 02:02:43 CST 2011


---
 dlls/comctl32/tests/treeview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tests/treeview.c b/dlls/comctl32/tests/treeview.c
index 457dd70..5ef277c 100644
--- a/dlls/comctl32/tests/treeview.c
+++ b/dlls/comctl32/tests/treeview.c
@@ -1425,12 +1425,14 @@ static void test_htreeitem_layout(void)
 
     ins.hParent = hChild;
     ins.hInsertAfter = TVI_FIRST;
+    ins.item.mask = 0;
     item1 = TreeView_InsertItem(hTree, &ins);
 
     check_item(item1, hChild, 0, 0);
 
     ins.hParent = hRoot;
     ins.hInsertAfter = TVI_FIRST;
+    ins.item.mask = 0;
     item2 = TreeView_InsertItem(hTree, &ins);
 
     check_item(item2, hRoot, hChild, 0);
-- 
1.5.6.5


--------------000704020402000806040701--



More information about the wine-patches mailing list