usp10/test: Make sure to only trace on _test_shape_ok number of glyphs if font is not valid.
This commit is contained in:
parent
bcb98d11ba
commit
850336d936
|
@ -367,7 +367,7 @@ static inline void _test_shape_ok(int valid, HDC hdc, LPCWSTR string,
|
||||||
winetest_trace("%i: invalid fCanGlyphAlone\n",x);
|
winetest_trace("%i: invalid fCanGlyphAlone\n",x);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(valid)
|
if (valid > 0)
|
||||||
winetest_ok(nGlyphs == outnGlyphs, "got incorrect number of glyphs (%i)\n",outnGlyphs);
|
winetest_ok(nGlyphs == outnGlyphs, "got incorrect number of glyphs (%i)\n",outnGlyphs);
|
||||||
else if (nGlyphs != outnGlyphs)
|
else if (nGlyphs != outnGlyphs)
|
||||||
winetest_trace("got incorrect number of glyphs (%i)\n",outnGlyphs);
|
winetest_trace("got incorrect number of glyphs (%i)\n",outnGlyphs);
|
||||||
|
|
Loading…
Reference in New Issue