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; }