Commit 0edfb1b4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent d902249e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment