Index: trunk/psLib/src/imageops/psImageInterpolate.c
===================================================================
--- trunk/psLib/src/imageops/psImageInterpolate.c	(revision 20311)
+++ trunk/psLib/src/imageops/psImageInterpolate.c	(revision 20314)
@@ -7,6 +7,6 @@
  *  @author Paul Price, IfA
  *
- *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-10-22 02:48:50 $
+ *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-10-22 03:02:28 $
  *
  *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -374,9 +374,7 @@
     bool offImage = false;              /* At least one pixel of the kernel is off the image */ \
     /* XXX Haven't got single dimension exact shifts implemented properly yet. */ \
-    /* XXX When it is ready, note that the limit checks ([ij]{Min,Max}) below are wrong: */ \
-    /* should probably refer to [xy]{Start,Stop}. */ \
     xExact = yExact = false; \
     if (xExact) { \
-        if (iMin > 0 || iMax < 1) { /* This is wrong */ \
+        if (xStart < 0 || xStart > xLast) { \
             INTERPOLATE_OFF(); /* Returns */ \
         } \
@@ -402,5 +400,5 @@
     } \
     if (yExact) { \
-        if (jMin > 0 || jMax < 1) { /* This is wrong */ \
+        if (yStart < 0 || yStart > yLast) { \
             INTERPOLATE_OFF(); /* Returns */ \
         } \
