mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Clarified code.
This commit is contained in:
parent
e25dca21d1
commit
b449bd5150
@ -1520,9 +1520,9 @@ static LRESULT CALLBACK HighGUIProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// if handle is allocated (i.e. != 0) then clean-up.
|
||||
memBM && ::DeleteObject(memBM);
|
||||
memDC && ::DeleteDC(memDC);
|
||||
hDC && ::ReleaseDC(hwnd, hDC);
|
||||
if (memBM) ::DeleteObject(memBM);
|
||||
if (memDC) ::DeleteDC(memDC);
|
||||
if (hDC) ::ReleaseDC(hwnd, hDC);
|
||||
::CloseClipboard();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user