Commit 524dbe4b authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

gdi32/tests: Mark a GetTextExtentPointW test as broken on Windows 10.

Fixes a testbot failure. Signed-off-by: 's avatarAlex Henrie <alexhenrie24@gmail.com> Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 58bf1112
......@@ -2457,7 +2457,8 @@ static void testJustification(const char *context, HDC hdc, PCSTR str, RECT *cli
{
/* The width returned by GetTextExtentPoint32() is exactly the same
returned by GetTextExtentExPointW() - see dlls/gdi32/font.c */
ok(error[e].GetTextExtentExPointWWidth == areaWidth,
ok(error[e].GetTextExtentExPointWWidth == areaWidth ||
broken(abs(areaWidth - error[e].GetTextExtentExPointWWidth) <= 2) /* win10 */,
"%s: GetTextExtentPointW() for \"%.*s\" should have returned a width of %d, not %d.\n",
context, error[e].len, error[e].start, areaWidth, error[e].GetTextExtentExPointWWidth);
}
......
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