--- tk8.4.15/generic/tkImgGIF.c.old 2006-03-27 14:13:56.000000000 +0200 +++ tk8.4.15/generic/tkImgGIF.c 2007-09-17 09:28:42.000000000 +0200 @@ -995,7 +995,7 @@ */ if (interlace) { ypos += interlaceStep[pass]; - while (ypos >= height) { + while (ypos >= rows) { pass++; if (pass > 3) { return TCL_OK;