shithub: jbig2

Download patch

ref: aaed7c2e751f82d585f9b4d94601b48bfd196b6f
parent: 5f76927a09fc65adff87042eb0667ded96fef537
author: Ralph Giles <giles@ghostscript.com>
date: Thu Feb 26 19:09:03 EST 2009

Protect refinement debug image dumps from the normal debug build.

--- a/jbig2_refinement.c
+++ b/jbig2_refinement.c
@@ -88,7 +88,7 @@
       jbig2_image_set_pixel(image, x, y, bit);
     }
   }
-#ifdef JBIG2_DEBUG
+#ifdef JBIG2_DEBUG_DUMP
   {
     static count = 0;
     char name[32];
@@ -139,7 +139,7 @@
     }
   }
 
-#ifdef JBIG2_DEBUG
+#ifdef JBIG2_DEBUG_DUMP
   {
     static count = 0;
     char name[32];