From 376953e00a97cc6ff5e18e8a8e0cd7fb70b15629 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 3 Mar 2014 18:43:17 +0100 Subject: [PATCH] oleaut32/tests: Fix compilation on systems that don't support nameless structs. --- dlls/oleaut32/tests/olefont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c index 53afc8d47a6..ded18389647 100644 --- a/dlls/oleaut32/tests/olefont.c +++ b/dlls/oleaut32/tests/olefont.c @@ -433,8 +433,8 @@ static void test_font_events_disp(void) } case DISPID_FONT_SIZE: V_VT(&vararg) = VT_CY; - V_CY(&vararg).Lo = 25; - V_CY(&vararg).Hi = 0; + S(V_CY(&vararg)).Lo = 25; + S(V_CY(&vararg)).Hi = 0; break; case DISPID_FONT_BOLD: V_VT(&vararg) = VT_BOOL;