comctl32/tests: Initialize item mask on item insert (Valgrind).
This commit is contained in:
parent
d902249e54
commit
0edfb1b4a0
|
@ -1425,12 +1425,14 @@ static void test_htreeitem_layout(void)
|
||||||
|
|
||||||
ins.hParent = hChild;
|
ins.hParent = hChild;
|
||||||
ins.hInsertAfter = TVI_FIRST;
|
ins.hInsertAfter = TVI_FIRST;
|
||||||
|
ins.item.mask = 0;
|
||||||
item1 = TreeView_InsertItem(hTree, &ins);
|
item1 = TreeView_InsertItem(hTree, &ins);
|
||||||
|
|
||||||
check_item(item1, hChild, 0, 0);
|
check_item(item1, hChild, 0, 0);
|
||||||
|
|
||||||
ins.hParent = hRoot;
|
ins.hParent = hRoot;
|
||||||
ins.hInsertAfter = TVI_FIRST;
|
ins.hInsertAfter = TVI_FIRST;
|
||||||
|
ins.item.mask = 0;
|
||||||
item2 = TreeView_InsertItem(hTree, &ins);
|
item2 = TreeView_InsertItem(hTree, &ins);
|
||||||
|
|
||||||
check_item(item2, hRoot, hChild, 0);
|
check_item(item2, hRoot, hChild, 0);
|
||||||
|
|
Loading…
Reference in New Issue