revert r21958

svn path=/trunk/; revision=21959
This commit is contained in:
Magnus Olsen 2006-05-21 08:41:16 +00:00
parent 6a818caf88
commit 2d54ed6453

View file

@ -2444,7 +2444,7 @@ NtUserFindWindowEx(HWND hwndParent,
ClassName.Length, ClassName.Length,
sizeof(WCHAR)); sizeof(WCHAR));
} }
else if (ClassName.Buffer != NULL || !IS_ATOM(ClassName.Buffer)) else if (ClassName.Buffer != NULL && !IS_ATOM(ClassName.Buffer))
{ {
SetLastWin32Error(ERROR_INVALID_PARAMETER); SetLastWin32Error(ERROR_INVALID_PARAMETER);
_SEH_LEAVE; _SEH_LEAVE;