comctl32/tests: Initialize item mask on item insert (Valgrind).

This commit is contained in:
Nikolay Sivov 2011-01-29 11:02:43 +03:00 committed by Alexandre Julliard
parent d902249e54
commit 0edfb1b4a0

View file

@ -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);