diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 3ea883a0e1d..8bce92b1a95 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -1136,6 +1136,7 @@ static void test_GetGlyphIndices(void) lf.lfCharSet = ANSI_CHARSET; hfont = CreateFontIndirectA(&lf); + ok(hfont != 0, "CreateFontIndirectEx failed\n"); ok(GetTextMetrics(hdc, &textm), "GetTextMetric failed\n"); if (textm.tmCharSet == ANSI_CHARSET) {