diff -Nu libjwc_c-1.1/imglib.c libjwc_c/imglib.c --- libjwc_c-1.1/imglib.c 1999-08-17 15:58:11.000000000 +0200 +++ libjwc_c/imglib.c 2004-06-03 14:24:05.000000000 +0200 @@ -4259,7 +4259,7 @@ { /* Note: In this routine the first local axis is called 'x' and the - second logal axi is called 'y' */ + second local axis is called 'y' */ int mxcent; /* Current max no. of elements in active spots array */ @@ -4469,6 +4469,7 @@ /* skipping condition */ + iymid = (actspots[j].iyend+actspots[j].iybeg)/2; itmp = abs(iymid-actspots[j].iycent); if (abs((actspots[j].iyend+actspots[j].iybeg) -(iel+ibl))> abs((actspots[j].iyend-actspots[j].iybeg) +(iel-ibl))&&