[ros-diffs] [hpoussin] 17002: Don't display available resolutions even if DBG is set. Rely only on NDEBUG

hpoussin at svn.reactos.com hpoussin at svn.reactos.com
Wed Aug 3 16:46:21 CEST 2005


Don't display available resolutions even if DBG is set. Rely only on
NDEBUG
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
  _____  

Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c	2005-08-03
14:46:12 UTC (rev 17001)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c	2005-08-03
14:46:17 UTC (rev 17002)
@@ -372,10 +372,10 @@

    VBESortModes(VBEDeviceExtension);
 
    /*
-    * Print the supported video modes when DBG is set.
+    * Print the supported video modes when NDEBUG is not set.
     */
 
-#if defined(DBG) && ! defined(NDEBUG)
+#ifndef NDEBUG
    for (CurrentMode = 0;
         CurrentMode < SuitableModeCount;
         CurrentMode++)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050803/6bc87847/attachment.html


More information about the Ros-diffs mailing list