Kusanagi Kouichi : winex11.drv: Assign struct.
Alexandre Julliard
julliard at winehq.org
Wed Jan 11 13:40:00 CST 2012
Module: wine
Branch: master
Commit: f56e1fcf7c87ef05daf741259eaf35d49171cb0b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f56e1fcf7c87ef05daf741259eaf35d49171cb0b
Author: Kusanagi Kouichi <slash at ac.auone-net.jp>
Date: Wed Jan 11 21:58:11 2012 +0900
winex11.drv: Assign struct.
---
dlls/winex11.drv/window.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 0411ddf..e6affcb 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2272,10 +2272,7 @@ void CDECL X11DRV_GetDC( HDC hdc, HWND hwnd, HWND top, const RECT *win_rect,
escape.dc_rect.top = win_rect->top - top_rect->top;
escape.dc_rect.right = win_rect->right - top_rect->left;
escape.dc_rect.bottom = win_rect->bottom - top_rect->top;
- escape.drawable_rect.left = top_rect->left;
- escape.drawable_rect.top = top_rect->top;
- escape.drawable_rect.right = top_rect->right;
- escape.drawable_rect.bottom = top_rect->bottom;
+ escape.drawable_rect = *top_rect;
if (top == hwnd)
{
More information about the wine-cvs
mailing list