[WIN32SS} So ehm DBG is always defined to 0 or 1 (unless one messes around with it...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 19 Sep 2015 14:25:52 +0000 (14:25 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 19 Sep 2015 14:25:52 +0000 (14:25 +0000)
svn path=/trunk/; revision=69290

reactos/win32ss/gdi/ntgdi/dc.h
reactos/win32ss/gdi/ntgdi/dclife.c

index 306c9f0..55d9d7a 100644 (file)
@@ -34,7 +34,7 @@ enum _DCFLAGS
     DC_IN_CLONEPDEV      = 0x1000,
     DC_REDIRECTION       = 0x2000,
     DC_SHAREACCESS       = 0x4000,
-#ifdef DBG
+#if DBG
     DC_PREPARED          = 0x8000
 #endif
 };
index 21419da..f96e051 100644 (file)
@@ -556,7 +556,7 @@ DC_vPrepareDCsForBlit(
                                prcFirst->bottom) ;
     }
 
-#ifdef DBG
+#if DBG
     pdcFirst->fs |= DC_PREPARED;
 #endif
 
@@ -586,7 +586,7 @@ DC_vPrepareDCsForBlit(
                                prcSecond->bottom) ;
     }
 
-#ifdef DBG
+#if DBG
     pdcSecond->fs |= DC_PREPARED;
 #endif
 }
@@ -601,7 +601,7 @@ DC_vFinishBlit(PDC pdc1, PDC pdc2)
         MouseSafetyOnDrawEnd(pdc1->ppdev);
         EngReleaseSemaphore(pdc1->ppdev->hsemDevLock);
     }
-#ifdef DBG
+#if DBG
     pdc1->fs &= ~DC_PREPARED;
 #endif
 
@@ -612,7 +612,7 @@ DC_vFinishBlit(PDC pdc1, PDC pdc2)
             MouseSafetyOnDrawEnd(pdc2->ppdev);
             EngReleaseSemaphore(pdc2->ppdev->hsemDevLock);
         }
-#ifdef DBG
+#if DBG
         pdc2->fs &= ~DC_PREPARED;
 #endif
     }