From 92f9c3f1b91e8e66a8a275b29e84a2af0ea36d61 Mon Sep 17 00:00:00 2001 From: Felix Nawothnig Date: Sun, 29 May 2005 20:02:32 +0000 Subject: [PATCH] Pass the right hwnd to ReleaseDC(). --- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index a579a41403d..d93ec47a935 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -9440,7 +9440,7 @@ static LRESULT LISTVIEW_Command(LISTVIEW_INFO *infoPtr, WPARAM wParam, LPARAM lP if(hFont != 0) SelectObject(hdc, hOldFont); - ReleaseDC(infoPtr->hwndSelf, hdc); + ReleaseDC(infoPtr->hwndEdit, hdc); break; }