Aric Stewart : usp10/test: Make sure to only trace on _test_shape_ok number of glyphs if font is not valid .
Module: wine Branch: master Commit: 850336d936dd50231247e395b0dd200340f9745f URL: http://source.winehq.org/git/wine.git/?a=commit;h=850336d936dd50231247e395b0... Author: Aric Stewart <aric(a)codeweavers.com> Date: Tue May 24 14:40:28 2011 -0500 usp10/test: Make sure to only trace on _test_shape_ok number of glyphs if font is not valid. --- dlls/usp10/tests/usp10.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index ac78514..742dbec 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);
participants (1)
-
Alexandre Julliard