Maarten Lankhorst : quartz: Remove invalid check from put_WindowStyleEx in video renderer.

Alexandre Julliard julliard at winehq.org
Thu May 20 11:02:56 CDT 2010


Module: wine
Branch: master
Commit: 02956bf79805322d2e3730b5a063e1f307ac7ea5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=02956bf79805322d2e3730b5a063e1f307ac7ea5

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Thu May 20 00:10:00 2010 +0200

quartz: Remove invalid check from put_WindowStyleEx in video renderer.

---

 dlls/quartz/videorenderer.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index f25ab17..40b1acb 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -1802,9 +1802,6 @@ static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface,
 
     TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx);
 
-    if (WindowStyleEx & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
-        return E_INVALIDARG;
-
     if (!SetWindowLongA(This->hWnd, GWL_EXSTYLE, WindowStyleEx))
         return E_FAIL;
 




More information about the wine-cvs mailing list