Author: greatlrd
Date: Sun May 21 12:41:16 2006
New Revision: 21959
URL:
http://svn.reactos.ru/svn/reactos?rev=21959&view=rev
Log:
revert r21958
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c Sun May 21 12:41:16 2006
@@ -2444,7 +2444,7 @@
ClassName.Length,
sizeof(WCHAR));
}
- else if (ClassName.Buffer != NULL || !IS_ATOM(ClassName.Buffer))
+ else if (ClassName.Buffer != NULL && !IS_ATOM(ClassName.Buffer))
{
SetLastWin32Error(ERROR_INVALID_PARAMETER);
_SEH_LEAVE;