Index: trunk/Ohana/src/opihi/dvo/ImageOps.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/ImageOps.c	(revision 3393)
+++ trunk/Ohana/src/opihi/dvo/ImageOps.c	(revision 3402)
@@ -44,5 +44,4 @@
 	while (flipped && (r > Rmid)) r-= 360.0;
 	status = RD_to_XY (&X, &Y, r, d, &graph[0].coords);
-
 	if (!status) continue;
 	if (X < graph[0].xmin) continue;
@@ -50,16 +49,18 @@
 	if (Y < graph[0].ymin) continue;
 	if (Y > graph[0].ymax) continue;
-	subset[n] = i;
-	n++;
-	if (n > npts - 1) {
-	  npts += 200;
-	  REALLOCATE (subset, int, npts);
-	}
-	break;
+	goto in_region;
+	/** we miss any images which surround the region.  we are also
+	    missing the DIS images for which the corners don't touch
+	    the region, but which are needed for WRP images with
+	    corners touching the region **/
       }
-      /** we miss any images which surround the region.  we are also
-	  missing the DIS images for which the corners don't touch
-	  the region, but which are needed for WRP images with
-	  corners touching the region **/
+      continue;
+    }
+  in_region:
+    subset[n] = i;
+    n++;
+    if (n > npts - 1) {
+      npts += 200;
+      REALLOCATE (subset, int, npts);
     }
   }
