diff src/glyphs-eimage.c @ 314:341dac730539 r21-0b55

Import from CVS: tag r21-0b55
author cvs
date Mon, 13 Aug 2007 10:44:22 +0200
parents 33bdb3d4b97f
children 512e409c26a2
line wrap: on
line diff
--- a/src/glyphs-eimage.c	Mon Aug 13 10:43:56 2007 +0200
+++ b/src/glyphs-eimage.c	Mon Aug 13 10:44:22 2007 +0200
@@ -698,8 +698,12 @@
     eip = unwind.eimage;
     for (i = 0; i < height; i++)
       {
-	if (interlace && row >= height)
-	  row = InterlacedOffset[++pass];
+	if (interlace)
+	  if (row >= height) {
+	    row = InterlacedOffset[++pass];
+	    while (row > height) 
+	      row = InterlacedOffset[++pass];
+	  }
 	eip = unwind.eimage + (row * width * 3);
 	for (j = 0; j < width; j++)
 	  {