mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
comdlg32: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e8a2a68f59
commit
4e7272f087
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue