Commit 850336d9 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10/test: Make sure to only trace on _test_shape_ok number of glyphs if font is not valid.

parent bcb98d11
......@@ -367,7 +367,7 @@ static inline void _test_shape_ok(int valid, HDC hdc, LPCWSTR string,
winetest_trace("%i: invalid fCanGlyphAlone\n",x);
}
if(valid)
if (valid > 0)
winetest_ok(nGlyphs == outnGlyphs, "got incorrect number of glyphs (%i)\n",outnGlyphs);
else if (nGlyphs != outnGlyphs)
winetest_trace("got incorrect number of glyphs (%i)\n",outnGlyphs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment