dwrite/tests: Test the correct return code.
Michael Stefaniuc
mstefani at redhat.de
Mon Mar 30 03:10:14 CDT 2015
---
dlls/dwrite/tests/font.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index 9762d49..d08087b 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -1814,7 +1814,7 @@ static void test_CreateCustomFontFileReference(void)
face_type = DWRITE_FONT_FACE_TYPE_TRUETYPE;
support = TRUE;
count = 1;
- IDWriteFontFile_Analyze(file, &support, &file_type, &face_type, &count);
+ hr = IDWriteFontFile_Analyze(file, &support, &file_type, &face_type, &count);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(support == FALSE, "got %i\n", support);
ok(file_type == DWRITE_FONT_FILE_TYPE_UNKNOWN, "got %i\n", file_type);
--
1.9.3
More information about the wine-patches
mailing list