From cf5dae18ac4719a0863fc93cbaca98b732690d20 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 17 Jun 2011 14:52:23 +0100 Subject: [PATCH] gdi32/tests: Call ReleaseDC not DeleteDC. --- dlls/gdi32/tests/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/tests/dc.c b/dlls/gdi32/tests/dc.c index cdfea102acd..41d9643081a 100644 --- a/dlls/gdi32/tests/dc.c +++ b/dlls/gdi32/tests/dc.c @@ -556,7 +556,7 @@ static void test_boundsrect_invalid(void) ok(ret == 0, "Expected SetBoundsRect to return 0, got %u\n", ret); } - DeleteDC(hdc); + ReleaseDC(NULL, hdc); } static void test_desktop_colorres(void) @@ -595,7 +595,7 @@ static void test_desktop_colorres(void) } } - DeleteDC(hdc); + ReleaseDC(NULL, hdc); } START_TEST(dc)