Remove WS_VISIBLE bit from correct member
Modified: trunk/reactos/subsys/win32k/ntuser/window.c

Modified: trunk/reactos/subsys/win32k/ntuser/window.c
--- trunk/reactos/subsys/win32k/ntuser/window.c	2005-09-09 00:38:39 UTC (rev 17757)
+++ trunk/reactos/subsys/win32k/ntuser/window.c	2005-09-09 09:48:33 UTC (rev 17758)
@@ -344,7 +344,7 @@
       return 0;
    }
    Window->Status |= WINDOWSTATUS_DESTROYING;
-   Window->Flags &= ~WS_VISIBLE;
+   Window->Style &= ~WS_VISIBLE;
    /* remove the window already at this point from the thread window list so we
       don't get into trouble when destroying the thread windows while we're still
       in IntDestroyWindow() */