gdi32/tests: Report a missing function only once.

This commit is contained in:
Paul Vriens 2009-02-20 11:47:48 +01:00 committed by Alexandre Julliard
parent 8fde5bf807
commit ac6077023f
1 changed files with 4 additions and 3 deletions

View File

@ -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));