[1/7] oleaut32/tests: Fix olefont tests compilation with __WINESRC__ defined
André Hentschel
nerv at dawncrow.de
Wed Oct 23 17:32:39 CDT 2013
---
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 9761778..1af1b6d 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -66,7 +66,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
LPVOID pvObj = NULL;
IFont* ifnt = NULL;
HFONT hfont;
- LOGFONT lf;
+ LOGFONTA lf;
CY psize;
HRESULT hres;
DWORD rtnval;
@@ -110,7 +110,7 @@ static void test_ifont_size(LONG lo_size, LONG hi_size,
hres = IFont_get_hFont (ifnt, &hfont);
ok(hres == S_OK, "%s: IFont_get_hFont returns 0x%08x instead of S_OK.\n",
test_name, hres);
- rtnval = GetObject (hfont, sizeof(LOGFONT), &lf);
+ rtnval = GetObjectA(hfont, sizeof(LOGFONTA), &lf);
ok(rtnval > 0, "GetObject(hfont) failed\n");
/* Since font scaling may encounter rounding errors, allow 1 pixel deviation. */
--
1.8.1.2
More information about the wine-patches
mailing list