Fixed typo, btw this fixes most of the edit tests.

svn path=/trunk/; revision=23429
This commit is contained in:
James Tabor 2006-08-03 00:01:05 +00:00
parent db09492d5f
commit a0f6dcc406

View file

@ -1439,7 +1439,7 @@ co_IntCreateWindowEx(DWORD dwExStyle,
} }
else if (hWndParent) else if (hWndParent)
{ {
if ((dwStyle & (WS_CHILD | WS_POPUP)) == WS_CHILD) if ((dwStyle & (WS_CHILD | WS_POPUP)) != WS_CHILD)
{ //temp hack { //temp hack
PWINDOW_OBJECT Par = UserGetWindowObject(hWndParent), Root; PWINDOW_OBJECT Par = UserGetWindowObject(hWndParent), Root;
if (Par && (Root = UserGetAncestor(Par, GA_ROOT))) if (Par && (Root = UserGetAncestor(Par, GA_ROOT)))