Commit cf5dae18 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32/tests: Call ReleaseDC not DeleteDC.

parent cd3281a0
...@@ -556,7 +556,7 @@ static void test_boundsrect_invalid(void) ...@@ -556,7 +556,7 @@ static void test_boundsrect_invalid(void)
ok(ret == 0, "Expected SetBoundsRect to return 0, got %u\n", ret); ok(ret == 0, "Expected SetBoundsRect to return 0, got %u\n", ret);
} }
DeleteDC(hdc); ReleaseDC(NULL, hdc);
} }
static void test_desktop_colorres(void) static void test_desktop_colorres(void)
...@@ -595,7 +595,7 @@ static void test_desktop_colorres(void) ...@@ -595,7 +595,7 @@ static void test_desktop_colorres(void)
} }
} }
DeleteDC(hdc); ReleaseDC(NULL, hdc);
} }
START_TEST(dc) START_TEST(dc)
......
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