Marcus Meissner : dwrite: Use correct variable (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 22 15:01:13 CDT 2014


Module: wine
Branch: master
Commit: 23aaef96a28a382c94a301248779ccc192e4defc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=23aaef96a28a382c94a301248779ccc192e4defc

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Sep 21 17:00:16 2014 +0200

dwrite: Use correct variable (Coverity).

---

 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 3a17064..945bfbf 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -957,7 +957,7 @@ static void test_FontLoader(void)
     ok(face == DWRITE_FONT_FACE_TYPE_UNKNOWN, "got %i\n", face);
     ok(count == 0, "got %i\n", count);
 
-    hr = IDWriteFactory_CreateFontFace(factory, type, 1, &ffile, 0, 0, &fface);
+    hr = IDWriteFactory_CreateFontFace(factory, DWRITE_FONT_FACE_TYPE_CFF, 1, &ffile, 0, 0, &fface);
     ok(hr == 0x8faecafe, "got 0x%08x\n", hr);
     IDWriteFontFile_Release(ffile);
 




More information about the wine-cvs mailing list