Francois Gouget : comctl32/tests: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Mon Feb 7 16:06:40 CST 2011
Module: wine
Branch: master
Commit: fc55c4a2d5d5a2ed9bc557c48e5913d73ffd7810
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc55c4a2d5d5a2ed9bc557c48e5913d73ffd7810
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Feb 7 12:30:37 2011 +0100
comctl32/tests: Fix compilation on systems that don't support nameless unions.
---
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);
More information about the wine-cvs
mailing list