From ce367d502f77210eb94b790b13d7830479e073d1 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 12 Nov 2003 05:40:59 +0000 Subject: [PATCH] revert Filip's fix per Filip & Jonathon svn path=/trunk/; revision=6625 --- reactos/subsys/win32k/ntuser/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index 01c66f93286..820b2dd45fd 100644 --- a/reactos/subsys/win32k/ntuser/window.c +++ b/reactos/subsys/win32k/ntuser/window.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: window.c,v 1.134 2003/11/11 22:17:18 weiden Exp $ +/* $Id: window.c,v 1.135 2003/11/12 05:40:59 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1467,7 +1467,7 @@ NtUserCreateWindowEx(DWORD dwExStyle, WindowObject->Parent = ParentWindow; WindowObject->Owner = IntGetWindowObject(OwnerWindowHandle); WindowObject->UserData = 0; - if ((((DWORD)ClassObject->lpfnWndProcA & 0xFFFF0000) != 0xFFFF0000) || (((DWORD)ClassObject->lpfnWndProcW & 0xFFFF0000) != 0xFFFF0000)) + if ((((DWORD)ClassObject->lpfnWndProcA & 0xFFFF0000) != 0xFFFF0000) && (((DWORD)ClassObject->lpfnWndProcW & 0xFFFF0000) != 0xFFFF0000)) { WindowObject->Unicode = ClassObject->Unicode; } else {