[PATCH 1/5] strmbase: Remove unnecessary WS_ICONIC.

Huw Davies huw at codeweavers.com
Mon Oct 30 05:29:12 CDT 2017


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 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 b4b5aabd28..b08608e65d 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);
-- 
2.12.0




More information about the wine-patches mailing list