From 95a2d3b54f8cb12ebe34549465858745e237facb Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 14 May 2004 16:50:16 +0000 Subject: [PATCH] - Modify DPRINTs to print window styles in hexadecimal notation. svn path=/trunk/; revision=9381 --- reactos/subsys/win32k/ntuser/window.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index 4e0c995fa76..f0d763e549e 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.231 2004/05/12 20:45:05 navaraf Exp $ +/* $Id: window.c,v 1.232 2004/05/14 16:50:16 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -29,10 +29,6 @@ /* INCLUDES ******************************************************************/ #include -#define NDEBUG -#include -#include - static WndProcHandle *WndProcHandlesArray = 0; static WORD WndProcHandlesArraySize = 0; #define WPH_SIZE 0x40 /* the size to add to the WndProcHandle array each time */ @@ -1556,7 +1552,7 @@ NtUserCreateWindowEx(DWORD dwExStyle, WindowObject->Class = ClassObject; WindowObject->ExStyle = dwExStyle; WindowObject->Style = dwStyle & ~WS_VISIBLE; - DPRINT("1: Style is now %d\n", WindowObject->Style); + DPRINT("1: Style is now %lx\n", WindowObject->Style); WindowObject->SystemMenu = (HMENU)0; WindowObject->ContextHelpId = 0; @@ -1622,12 +1618,12 @@ NtUserCreateWindowEx(DWORD dwExStyle, if (!(dwStyle & WS_CHILD)) { WindowObject->Style |= WS_CLIPSIBLINGS; - DPRINT("3: Style is now %d\n", WindowObject->Style); + DPRINT("3: Style is now %lx\n", WindowObject->Style); if (!(dwStyle & WS_POPUP)) { WindowObject->Style |= WS_CAPTION; WindowObject->Flags |= WINDOWOBJECT_NEED_SIZE; - DPRINT("4: Style is now %d\n", WindowObject->Style); + DPRINT("4: Style is now %lx\n", WindowObject->Style); /* FIXME: Note the window needs a size. */ } }