quartz: Avoid using CopyRect().
Michael Stefaniuc
mstefani at redhat.de
Wed Sep 28 02:24:54 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/quartz/vmr9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index 7c7b244..fb6745d 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -1318,7 +1318,7 @@ static BOOL CALLBACK get_available_monitors_proc(HMONITOR hmon, HDC hdc, LPRECT
else
info->guid.pGUID = NULL;
- CopyRect(&info->rcMonitor, &mi.rcMonitor);
+ info->rcMonitor = mi.rcMonitor;
info->hMon = hmon;
info->dwFlags = mi.dwFlags;
@@ -1335,7 +1335,7 @@ static BOOL CALLBACK get_available_monitors_proc(HMONITOR hmon, HDC hdc, LPRECT
memset(info, 0, sizeof(*info));
info->uDevID = 0; /* FIXME */
- CopyRect(&info->rcMonitor, &mi.rcMonitor);
+ info->rcMonitor = mi.rcMonitor;
info->hMon = hmon;
info->dwFlags = mi.dwFlags;
--
2.7.4
More information about the wine-patches
mailing list