shithub: jbig2

Download patch

ref: 5fb176e3daee8d87d1b6a25eb4d71b03a20694ea
parent: 376546a60ce0bf4ff095f234b1d8ad429b6b450b
author: raph <raph@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Fri Feb 7 00:14:09 EST 2003

Debug message for "referred to segment" had an extra level of
redirection.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@211 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_segment.c
+++ b/jbig2_segment.c
@@ -8,7 +8,7 @@
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
 
-    $Id: jbig2_segment.c,v 1.18 2002/07/20 17:23:15 giles Exp $
+    $Id: jbig2_segment.c,v 1.19 2003/02/07 05:14:09 raph Exp $
 */
 
 #ifdef HAVE_CONFIG_H
@@ -80,7 +80,7 @@
         offset += referred_to_segment_size;
         jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, result->number,
             "segment %d refers to segment %d",
-            result->number, ctx->segments[referred_to_segments[i]]->number);
+            result->number, referred_to_segments[i]);
       }
       result->referred_to_segments = referred_to_segments;
     }