Commit 52cf1851 authored by Filip Navara's avatar Filip Navara Committed by Alexandre Julliard

Use ReleaseDC instead of DeleteDC on DC handle.

parent 98e33334
......@@ -339,7 +339,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
}
DeleteObject(hClipRgn);
DeleteDC(hClipDC);
ReleaseDC(hwnd, hClipDC);
}
if (((phdi->fmt & HDF_STRING)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment