Nikolay Sivov : comctl32/tests: Initialize item mask on item insert ( Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Jan 31 11:26:12 CST 2011
Module: wine
Branch: master
Commit: 0edfb1b4a07b468309da85587d967f6afb0cc611
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0edfb1b4a07b468309da85587d967f6afb0cc611
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat Jan 29 11:02:43 2011 +0300
comctl32/tests: Initialize item mask on item insert (Valgrind).
---
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);
More information about the wine-cvs
mailing list