gdi32: Allow a rounding error in the text justification test.

This commit is contained in:
Dmitry Timoshkov 2008-10-06 22:27:30 +09:00 committed by Alexandre Julliard
parent c8d5730610
commit 0d1470575d
1 changed files with 1 additions and 1 deletions

View File

@ -1344,7 +1344,7 @@ static void testJustification(HDC hdc, PSTR str, RECT *clientArea)
for (e = 0; e < nErrors; e++)
{
ok(error[e].TabbedTextOutWidth == areaWidth,
ok(near_match(error[e].TabbedTextOutWidth, areaWidth),
"The output text (\"%s\") width should be %d, not %d.\n",
error[e].extent, areaWidth, error[e].TabbedTextOutWidth);
/* The width returned by GetTextExtentPoint32() is exactly the same