comctl32/tests: Fix compilation on systems that don't support nameless unions.
Francois Gouget
fgouget at free.fr
Mon Feb 7 05:30:37 CST 2011
---
dlls/comctl32/tests/treeview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/treeview.c b/dlls/comctl32/tests/treeview.c
index 5ef277c..653807f 100644
--- a/dlls/comctl32/tests/treeview.c
+++ b/dlls/comctl32/tests/treeview.c
@@ -1425,14 +1425,14 @@ static void test_htreeitem_layout(void)
ins.hParent = hChild;
ins.hInsertAfter = TVI_FIRST;
- ins.item.mask = 0;
+ U(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;
+ U(ins).item.mask = 0;
item2 = TreeView_InsertItem(hTree, &ins);
check_item(item2, hRoot, hChild, 0);
--
1.7.2.3
More information about the wine-patches
mailing list