Huw Davies : strmbase: Remove unnecessary WS_ICONIC.

Alexandre Julliard julliard at winehq.org
Tue Oct 31 13:16:01 CDT 2017


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Oct 30 10:29:12 2017 +0000

strmbase: Remove unnecessary WS_ICONIC.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/strmbase/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/strmbase/window.c b/dlls/strmbase/window.c
index b4b5aab..b08608e 100644
--- a/dlls/strmbase/window.c
+++ b/dlls/strmbase/window.c
@@ -295,7 +295,7 @@ HRESULT WINAPI BaseControlWindowImpl_put_WindowStyle(IVideoWindow *iface, LONG W
 
     TRACE("(%p/%p)->(%x -> %x)\n", This, iface, old, WindowStyle);
 
-    if (WindowStyle & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
+    if (WindowStyle & (WS_DISABLED|WS_HSCROLL|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
         return E_INVALIDARG;
 
     SetWindowLongW(This->baseWindow.hWnd, GWL_STYLE, WindowStyle);




More information about the wine-cvs mailing list