Pass the right hwnd to ReleaseDC().

This commit is contained in:
Felix Nawothnig 2005-05-29 20:02:32 +00:00 committed by Alexandre Julliard
parent 84e1e9948b
commit 92f9c3f1b9
1 changed files with 1 additions and 1 deletions

View File

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