From ac6077023f04fa4eb8e20f616f671dea34d0c9f6 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 20 Feb 2009 11:47:48 +0100 Subject: [PATCH] gdi32/tests: Report a missing function only once. --- dlls/gdi32/tests/font.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 6388adc3105..92623dc44cb 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -1960,10 +1960,7 @@ static void test_negative_width(HDC hdc, const LOGFONTA *lf) MAT2 mat = { {0,1}, {0,0}, {0,0}, {0,1} }; if(!pGetGlyphIndicesA) - { - skip("GetGlyphIndicesA is unavailable\n"); return; - } /* negative widths are handled just as positive ones */ lf2.lfWidth = -lf->lfWidth; @@ -2508,6 +2505,10 @@ static void test_GetTextMetrics(void) HDC hdc; INT enumed; + /* Report only once */ + if(!pGetGlyphIndicesA) + skip("GetGlyphIndicesA is unavailable, negative width will not be checked\n"); + hdc = GetDC(0); memset(&lf, 0, sizeof(lf)); -- 2.11.4.GIT