Christian Costa : quartz: Fill right RECT structure in SetDefaultTargetRec.
Alexandre Julliard
julliard at winehq.org
Tue Oct 9 13:12:35 CDT 2012
Module: wine
Branch: master
Commit: 03086e87ffbf8a59f7a0a71e45fba35e810ef3b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=03086e87ffbf8a59f7a0a71e45fba35e810ef3b1
Author: Christian Costa <titan.costa at gmail.com>
Date: Sun Oct 7 22:01:08 2012 +0200
quartz: Fill right RECT structure in SetDefaultTargetRec.
---
dlls/quartz/videorenderer.c | 8 ++++----
1 files 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-cvs
mailing list