diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index ac78514741e..742dbec88c9 100644 --- a/dlls/usp10/tests/usp10.c +++ b/dlls/usp10/tests/usp10.c @@ -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);