[gs-cvs] rev 7822 - trunk/gs/src

giles at ghostscript.com giles at ghostscript.com
Thu Apr 5 14:34:09 PDT 2007


Author: giles
Date: 2007-04-05 14:34:09 -0700 (Thu, 05 Apr 2007)
New Revision: 7822

Modified:
   trunk/gs/src/gdevpbm.c
Log:
Add #ifdef protection to some new debug printouts for the OutputIntent 
parameter.


Modified: trunk/gs/src/gdevpbm.c
===================================================================
--- trunk/gs/src/gdevpbm.c	2007-04-05 17:36:43 UTC (rev 7821)
+++ trunk/gs/src/gdevpbm.c	2007-04-05 21:34:09 UTC (rev 7822)
@@ -452,7 +452,7 @@
 
     if ((code = param_read_string_array(plist, "OutputIntent", &intent)) == 0) {
 	int i, j;
-
+#ifdef DEBUG
 	dlprintf1("%d strings:\n", intent.size);
 	for (i = 0; i < intent.size; i++) {
 	    const gs_param_string *s = &intent.data[i];
@@ -466,6 +466,7 @@
 	    }
 	    dlprintf("\n");
 	}
+#endif /* DEBUG */
     }
     save_info = pdev->color_info;
     if ((code = param_read_long(plist, (vname = "GrayValues"), &v)) != 1 ||



More information about the gs-cvs mailing list