[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1605-g4e220de

[email protected] (Till Kamppeter)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  4e220de447dc5cc79a00e8bb57b69c6ea242fe75 (commit)
      from  30575d50af5f8dd17ef20ccbbf2b2d8afae51589 (commit)

----------------------------------------------------------------------
commit 4e220de447dc5cc79a00e8bb57b69c6ea242fe75
Author: Till Kamppeter <[email protected]>
Date:   Sun Aug 25 19:35:14 2019 +0200

    "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.

diff --git a/cups/gdevcups.c b/cups/gdevcups.c
index f6cd661..3df3f03 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;


Summary of changes:
 cups/gdevcups.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.