Paul Vriens : gdi32/tests: Report a missing function only once.
Alexandre Julliard
julliard at winehq.org
Fri Feb 20 12:49:36 CST 2009
Module: wine
Branch: master
Commit: ac6077023f04fa4eb8e20f616f671dea34d0c9f6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac6077023f04fa4eb8e20f616f671dea34d0c9f6
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Feb 20 11:47:48 2009 +0100
gdi32/tests: Report a missing function only once.
---
dlls/gdi32/tests/font.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 6388adc..92623dc 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));
More information about the wine-cvs
mailing list