Module: wine Branch: master Commit: 23aaef96a28a382c94a301248779ccc192e4defc URL: http://source.winehq.org/git/wine.git/?a=commit;h=23aaef96a28a382c94a3012487...
Author: Marcus Meissner marcus@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);