comdlg32: Avoid using CopyRect().
Michael Stefaniuc
mstefani at redhat.de
Wed Jun 22 04:52:30 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/comdlg32/colordlg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comdlg32/colordlg.c b/dlls/comdlg32/colordlg.c
index 8b307ae..6bf54c3 100644
--- a/dlls/comdlg32/colordlg.c
+++ b/dlls/comdlg32/colordlg.c
@@ -247,7 +247,7 @@ static void CC_DrawFocusRect(CCPRIV *lpp, HWND hwnd, int x, int y, int rows, int
/* draw it */
hdc = GetDC(hwnd);
DrawFocusRect(hdc, &rect);
- CopyRect(&lpp->focusRect, &rect);
+ lpp->focusRect = rect;
lpp->hwndFocus = hwnd;
ReleaseDC(hwnd, hdc);
}
--
2.4.11
More information about the wine-patches
mailing list