mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 11:53:38 +00:00
strmbase: Remove unnecessary WS_ICONIC.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bec279d8c1
commit
9ca5384078
|
@ -295,7 +295,7 @@ HRESULT WINAPI BaseControlWindowImpl_put_WindowStyle(IVideoWindow *iface, LONG W
|
||||||
|
|
||||||
TRACE("(%p/%p)->(%x -> %x)\n", This, iface, old, WindowStyle);
|
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;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
SetWindowLongW(This->baseWindow.hWnd, GWL_STYLE, WindowStyle);
|
SetWindowLongW(This->baseWindow.hWnd, GWL_STYLE, WindowStyle);
|
||||||
|
|
Loading…
Reference in a new issue