gdi32/tests: Report a missing function only once.
This commit is contained in:
parent
8fde5bf807
commit
ac6077023f
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue