summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2019-08-25 19:35:14 +0200
committerTill Kamppeter <till.kamppeter@gmail.com>2019-08-25 19:35:14 +0200
commit4e220de447dc5cc79a00e8bb57b69c6ea242fe75 (patch)
tree1b077c9d5fd7f3ea9f95eb07f5d16d4c3aa28422 /cups
parent30575d50af5f8dd17ef20ccbbf2b2d8afae51589 (diff)
downloadghostpdl-4e220de447dc5cc79a00e8bb57b69c6ea242fe75.tar.gz
"cups"/"pwgraster" output device: Do not output LUTs with CUPS_DEBUG set
This change lets complete LUTs in the debug output only be listed when CUPS_DEBUG2 is set and not already with CUPS_DEBUG.
Diffstat (limited to 'cups')
-rw-r--r--cups/gdevcups.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cups/gdevcups.c b/cups/gdevcups.c
index f6cd661b2..3df3f0391 100644
--- a/cups/gdevcups.c
+++ b/cups/gdevcups.c
@@ -4543,18 +4543,18 @@ cups_set_color_info(gx_device *pdev) /* I - Device info */
cups->EncodeLUT[i] = j;
-#ifdef CUPS_DEBUG
+#ifdef CUPS_DEBUG2
if (i == 0 || cups->EncodeLUT[i] != cups->EncodeLUT[i - 1])
dmprintf2(pdev->memory, "DEBUG2: cups->EncodeLUT[%d] = %d\n", i,
(int)cups->EncodeLUT[i]);
-#endif /* CUPS_DEBUG */
+#endif /* CUPS_DEBUG2 */
}
-#ifdef CUPS_DEBUG
+#ifdef CUPS_DEBUG2
dmprintf1(pdev->memory, "DEBUG2: cups->EncodeLUT[0] = %d\n", (int)cups->EncodeLUT[0]);
dmprintf2(pdev->memory, "DEBUG2: cups->EncodeLUT[%d] = %d\n", gx_max_color_value,
(int)cups->EncodeLUT[gx_max_color_value]);
-#endif /* CUPS_DEBUG */
+#endif /* CUPS_DEBUG2 */
for (i = 0; i < cups->color_info.dither_grays; i ++) {
j = i;