From 4a6584272ace66676cf90b0d1a8adf2f56077339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Thu, 20 Mar 2003 08:22:01 +0000 Subject: [PATCH] Silence some debug messages svn path=/trunk/; revision=4368 --- reactos/subsys/win32k/ntuser/painting.c | 5 +---- reactos/subsys/win32k/objects/fillshap.c | 2 +- reactos/subsys/win32k/objects/icm.c | 2 +- reactos/subsys/win32k/objects/metafile.c | 2 +- reactos/subsys/win32k/objects/objconv.c | 2 +- reactos/subsys/win32k/objects/paint.c | 2 +- reactos/subsys/win32k/objects/path.c | 2 +- reactos/subsys/win32k/objects/pen.c | 2 +- reactos/subsys/win32k/objects/polyfill.c | 2 +- reactos/subsys/win32k/objects/print.c | 2 +- reactos/subsys/win32k/objects/rect.c | 2 +- reactos/subsys/win32k/objects/region.c | 2 +- reactos/subsys/win32k/objects/wingl.c | 2 +- 13 files changed, 13 insertions(+), 16 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/painting.c b/reactos/subsys/win32k/ntuser/painting.c index 6ae3f08e9e9..4675fd7091b 100644 --- a/reactos/subsys/win32k/ntuser/painting.c +++ b/reactos/subsys/win32k/ntuser/painting.c @@ -1,4 +1,4 @@ -/* $Id: painting.c,v 1.9 2003/03/18 08:33:27 gvg Exp $ +/* $Id: painting.c,v 1.10 2003/03/20 08:22:01 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -760,7 +760,6 @@ NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs) { return(NULL); } - if (Window->Flags & WINDOWOBJECT_NEED_ERASEBACKGRD) { DbgPrint("[ayes:0]"); } else { DbgPrint("[ano:0]"); } /*testing*/ IsIcon = Window->Style & WS_MINIMIZE && NtUserGetClassLong(Window->Self, GCL_HICON); @@ -818,7 +817,6 @@ NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs) if (Window->Flags & WINDOWOBJECT_NEED_ERASEBACKGRD) { BOOLEAN Result; -DbgPrint("[dne:0]"); Window->Flags &= ~WINDOWOBJECT_NEED_ERASEBACKGRD; Result = NtUserSendMessage(hWnd, IsIcon ? WM_ICONERASEBKGND : WM_ERASEBKGND, @@ -828,7 +826,6 @@ DbgPrint("[dne:0]"); } else { -DbgPrint("[dne:1]"); lPs->fErase = FALSE; } diff --git a/reactos/subsys/win32k/objects/fillshap.c b/reactos/subsys/win32k/objects/fillshap.c index 85c51fce84f..d387975e7cb 100644 --- a/reactos/subsys/win32k/objects/fillshap.c +++ b/reactos/subsys/win32k/objects/fillshap.c @@ -95,7 +95,7 @@ W32kPolygon(HDC hDC, RECTL DestRect; int CurrentPoint; - DbgPrint("In W32kPolygon()\n"); + DPRINT("In W32kPolygon()\n"); if(0 == dc) return FALSE; diff --git a/reactos/subsys/win32k/objects/icm.c b/reactos/subsys/win32k/objects/icm.c index 12720feec9d..4b81c8e3216 100644 --- a/reactos/subsys/win32k/objects/icm.c +++ b/reactos/subsys/win32k/objects/icm.c @@ -5,7 +5,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include BOOL diff --git a/reactos/subsys/win32k/objects/metafile.c b/reactos/subsys/win32k/objects/metafile.c index 441c288eba9..073be0a800c 100644 --- a/reactos/subsys/win32k/objects/metafile.c +++ b/reactos/subsys/win32k/objects/metafile.c @@ -5,7 +5,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include HENHMETAFILE diff --git a/reactos/subsys/win32k/objects/objconv.c b/reactos/subsys/win32k/objects/objconv.c index 045b4f9b336..fc8c8f963b9 100644 --- a/reactos/subsys/win32k/objects/objconv.c +++ b/reactos/subsys/win32k/objects/objconv.c @@ -13,7 +13,7 @@ #include #include "../eng/objects.h" -//#define NDEBUG +#define NDEBUG #include diff --git a/reactos/subsys/win32k/objects/paint.c b/reactos/subsys/win32k/objects/paint.c index f1aa922b276..b0d688f4712 100644 --- a/reactos/subsys/win32k/objects/paint.c +++ b/reactos/subsys/win32k/objects/paint.c @@ -6,7 +6,7 @@ //#include #include -// #define NDEBUG +#define NDEBUG #include BOOL diff --git a/reactos/subsys/win32k/objects/path.c b/reactos/subsys/win32k/objects/path.c index c61ec65fd36..65e0e0f53f1 100644 --- a/reactos/subsys/win32k/objects/path.c +++ b/reactos/subsys/win32k/objects/path.c @@ -12,7 +12,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include #define NUM_ENTRIES_INITIAL 16 /* Initial size of points / flags arrays */ diff --git a/reactos/subsys/win32k/objects/pen.c b/reactos/subsys/win32k/objects/pen.c index d46cc60ddf3..63cf49fa192 100644 --- a/reactos/subsys/win32k/objects/pen.c +++ b/reactos/subsys/win32k/objects/pen.c @@ -3,7 +3,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include HPEN diff --git a/reactos/subsys/win32k/objects/polyfill.c b/reactos/subsys/win32k/objects/polyfill.c index f5c8ad35a61..e57b5d2b82e 100644 --- a/reactos/subsys/win32k/objects/polyfill.c +++ b/reactos/subsys/win32k/objects/polyfill.c @@ -16,7 +16,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include #define PFILL_EDGE_ALLOC_TAG 0x45465044 diff --git a/reactos/subsys/win32k/objects/print.c b/reactos/subsys/win32k/objects/print.c index b8b452822b5..c9bc0ab042c 100644 --- a/reactos/subsys/win32k/objects/print.c +++ b/reactos/subsys/win32k/objects/print.c @@ -3,7 +3,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include INT diff --git a/reactos/subsys/win32k/objects/rect.c b/reactos/subsys/win32k/objects/rect.c index 3c88969c160..fdc11e3427d 100644 --- a/reactos/subsys/win32k/objects/rect.c +++ b/reactos/subsys/win32k/objects/rect.c @@ -4,7 +4,7 @@ #include #include -//#define NDEBUG +#define NDEBUG #include /* FUNCTIONS *****************************************************************/ diff --git a/reactos/subsys/win32k/objects/region.c b/reactos/subsys/win32k/objects/region.c index e81184d12cc..c71f2fe9bc8 100644 --- a/reactos/subsys/win32k/objects/region.c +++ b/reactos/subsys/win32k/objects/region.c @@ -11,7 +11,7 @@ #include -// #define NDEBUG +#define NDEBUG #include BOOL STDCALL diff --git a/reactos/subsys/win32k/objects/wingl.c b/reactos/subsys/win32k/objects/wingl.c index 0973cf0c7ec..97a90fdda01 100644 --- a/reactos/subsys/win32k/objects/wingl.c +++ b/reactos/subsys/win32k/objects/wingl.c @@ -4,7 +4,7 @@ #include #include -// #define NDEBUG +#define NDEBUG #include INT