[PATCH 2/2] quartz: Fill right RECT structure in SetDefaultTargetRec.

Christian Costa titan.costa at gmail.com
Sun Oct 7 15:01:08 CDT 2012


---
 dlls/quartz/videorenderer.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index a045ba8..5e78c55 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -599,10 +599,10 @@ static HRESULT WINAPI VideoRenderer_SetDefaultTargetRect(BaseControlVideo* iface
     if (!GetClientRect(This->baseControlWindow.baseWindow.hWnd, &rect))
         return E_FAIL;
 
-    This->SourceRect.left = 0;
-    This->SourceRect.top = 0;
-    This->SourceRect.right = rect.right;
-    This->SourceRect.bottom = rect.bottom;
+    This->DestRect.left = 0;
+    This->DestRect.top = 0;
+    This->DestRect.right = rect.right;
+    This->DestRect.bottom = rect.bottom;
 
     return S_OK;
 }




More information about the wine-patches mailing list