Pass the right hwnd to ReleaseDC().

1 file changed