Commit 1f6f4329 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

gdi32/tests: Fix test on WinME.

parent 08400e9d
......@@ -528,6 +528,8 @@ static void test_boundsrect_invalid(void)
"Expected GetBoundsRect to return 0, got %u\n", ret);
ret = GetBoundsRect(hdc, &rect, 0);
if (ret != DCB_SET) /* WinME */
{
ok(ret == DCB_RESET,
"Expected GetBoundsRect to return DCB_RESET, got %u\n", ret);
SetRect(&expect, 0, 0, 0, 0);
......@@ -535,6 +537,7 @@ static void test_boundsrect_invalid(void)
"Expected output rectangle (0,0)-(0,0), got (%d,%d)-(%d,%d)\n",
rect.left, rect.top, rect.right, rect.bottom);
}
}
if (GetBoundsRect(hdc, NULL, 0) == DCB_RESET)
win_skip("Win9x fails catastrophically with NULL device context parameter\n");
......
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