Michael Stefaniuc : comdlg32: Avoid using CopyRect().
Alexandre Julliard
julliard at winehq.org
Wed Jun 22 11:04:41 CDT 2016
Module: wine
Branch: master
Commit: 4e7272f087f814007a3225a5e08d8d8d811be8bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e7272f087f814007a3225a5e08d8d8d811be8bb
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Jun 22 11:52:30 2016 +0200
comdlg32: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
}
More information about the wine-cvs
mailing list