From a0f6dcc406d316c5f2bae7ae7b94028e66039e99 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 3 Aug 2006 00:01:05 +0000 Subject: [PATCH] Fixed typo, btw this fixes most of the edit tests. svn path=/trunk/; revision=23429 --- reactos/subsystems/win32/win32k/ntuser/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 059aa67dfea..c0b9aa84332 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -1439,7 +1439,7 @@ co_IntCreateWindowEx(DWORD dwExStyle, } else if (hWndParent) { - if ((dwStyle & (WS_CHILD | WS_POPUP)) == WS_CHILD) + if ((dwStyle & (WS_CHILD | WS_POPUP)) != WS_CHILD) { //temp hack PWINDOW_OBJECT Par = UserGetWindowObject(hWndParent), Root; if (Par && (Root = UserGetAncestor(Par, GA_ROOT)))