shithub: jbig2

Download patch

ref: 7d9a6439364da7ea94311d69f877ae37485fd1f7
parent: b62aa9dd9154eba7122c56cab886207dce972cb1
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed Dec 22 04:34:29 EST 2004

Clarify variable references to better match the spec.


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

--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -251,11 +251,12 @@
 
 		/* (6.4.11 (6)) */
 		IBO = IB;
-		image = jbig2_image_new(ctx, IB->width + RDW,
-					     IB->height + RDH);
+		image = jbig2_image_new(ctx, IBO->width + RDW,
+					     IBO->height + RDH);
+
 		/* Table 12 */
 		rparams.GRTEMPLATE = params->SBRTEMPLATE;
-		rparams.reference = IB;
+		rparams.reference = IBO;
 		rparams.DX = (RDW >> 1) + RDX;
 		rparams.DY = (RDH >> 1) + RDY;
 		rparams.TPGRON = 0;