ref: e3539c7888e025ebd0847d7099cf0a88b2465c8e
parent: 5c9498154bb7e722777fcda2294b31535ef06e08
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed May 7 18:33:22 EDT 2003
Pass the segment number to fprintf in the default error handler. (recommitted after repository became corrupt. original change date Mon May 5 10:22:41 2003) git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@246 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2.c
+++ b/jbig2.c
@@ -77,7 +77,7 @@
/* report only fatal errors by default */
if (severity == JBIG2_SEVERITY_FATAL) {
fprintf(stderr, "jbig2 decoder FATAL ERROR: %s", msg);
- if (seg_idx != -1) fprintf(stderr, " (segment 0x%02x)");
+ if (seg_idx != -1) fprintf(stderr, " (segment 0x%02x)", seg_idx);
fprintf(stderr, "\n");
fflush(stderr);
}