Commit in reactos/subsys/win32k/objects on MAIN
gdiobj.c+7-71.81 -> 1.82
use GDI_DEBUG

reactos/subsys/win32k/objects
gdiobj.c 1.81 -> 1.82
diff -u -r1.81 -r1.82
--- gdiobj.c	19 Dec 2004 05:03:29 -0000	1.81
+++ gdiobj.c	19 Dec 2004 16:53:57 -0000	1.82
@@ -19,7 +19,7 @@
 /*
  * GDIOBJ.C - GDI object manipulation routines
  *
- * $Id: gdiobj.c,v 1.81 2004/12/19 05:03:29 royce Exp $
+ * $Id: gdiobj.c,v 1.82 2004/12/19 16:53:57 weiden Exp $
  */
 #include <w32k.h>
 
@@ -209,7 +209,7 @@
   return 0;
 }
 
-#ifdef DBG
+#ifdef GDI_DEBUG
 
 static int leak_reported = 0;
 #define GDI_STACK_LEVELS 12
@@ -299,7 +299,7 @@
 	if ( i < n && h[i].count == 1 )
 		DbgPrint ( "(list terminated - the remaining entries have 1 allocation only)\n" );
 }
-#endif /* DBG */
+#endif /* GDI_DEBUG */
 
 /*!
  * Allocate memory for GDI object and return handle to it.
@@ -395,7 +395,7 @@
           /* unlock the entry */
           InterlockedExchange(&Entry->ProcessId, CurrentProcessId);
 
-#ifdef DBG
+#ifdef GDI_DEBUG
           {
             PULONG Frame;
 			int which;
@@ -412,7 +412,7 @@
 			for ( ; which < GDI_STACK_LEVELS; which++ )
 				GDIHandleAllocator[Index][which] = 0xDEADBEEF;
           }
-#endif /* DBG */
+#endif /* GDI_DEBUG */
 
           if(W32Process != NULL)
           {
@@ -441,9 +441,9 @@
 
       ExFreeToPagedLookasideList(LookasideList, newObject);
       DPRINT1("Failed to insert gdi object into the handle table, no handles left!\n");
-#ifdef DBG
+#ifdef GDI_DEBUG
       IntDumpHandleTable();
-#endif /* DBG */
+#endif /* GDI_DEBUG */
     }
     else
     {
CVSspam 0.2.8