Module: wine Branch: master Commit: cf5dae18ac4719a0863fc93cbaca98b732690d20 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf5dae18ac4719a0863fc93cba...
Author: Huw Davies huw@codeweavers.com Date: Fri Jun 17 14:52:23 2011 +0100
gdi32/tests: Call ReleaseDC not DeleteDC.
---
dlls/gdi32/tests/dc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/tests/dc.c b/dlls/gdi32/tests/dc.c index cdfea10..41d9643 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)