Pass the right hwnd to ReleaseDC().
This commit is contained in:
parent
84e1e9948b
commit
92f9c3f1b9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue