rev 344 - trunk

[email protected] Wed, 1 Dec 2004 11:45:29 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Author: giles
Date: 2004-12-01 11:45:29 -0800 (Wed, 01 Dec 2004)
New Revision: 344

Modified:
   trunk/jbig2_symbol_dict.c
Log:
Correct a typo, and switch allocation of GR_stats on SDREFAGG instead of SDRTEMPLATE.


Modified: trunk/jbig2_symbol_dict.c
===================================================================
--- trunk/jbig2_symbol_dict.c	2004-12-01 19:40:05 UTC (rev 343)
+++ trunk/jbig2_symbol_dict.c	2004-12-01 19:45:29 UTC (rev 344)
@@ -572,8 +572,8 @@
 	params.SDTEMPLATE == 1 ? 8192 : 1024;
       GB_stats = jbig2_alloc(ctx->allocator, stats_size);
       memset(GB_stats, 0, stats_size);
-      if (!params.SDRTEMPLATE) {
-	stats_size = params.SDRTEMPLATE ? 1 << 1 : 1 << 13;
+      if (!params.SDREFAGG) {
+	stats_size = params.SDRTEMPLATE ? 1 << 10 : 1 << 13;
 	GR_stats = jbig2_alloc(ctx->allocator, stats_size);
 	memset(GR_stats, 0, stats_size);
       }