Index: trunk/Ohana/src/opihi/dvo/ImageSelection.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/ImageSelection.c	(revision 13479)
+++ trunk/Ohana/src/opihi/dvo/ImageSelection.c	(revision 14286)
@@ -9,5 +9,5 @@
 
 /* load images based on parameters and region, etc */
-int SetImageSelection (int mode, int RegionSelect) {
+int SetImageSelection (int mosaicMode, int RegionSelect) {
 
   int Ngraph;
@@ -29,10 +29,5 @@
   TimeSelect = GetTimeSelection (&tzero, &tend);
 
-  switch (mode) {
-    case MEAS_XCCD:
-    case MEAS_YCCD:
-      break;
-    case MEAS_XMOSAIC: 
-    case MEAS_YMOSAIC:
+  if (mosaicMode) {
       /* mosaic defines a frame with 0,0 at the mosaic center, and 1 arcsec / pixel */
       mosaic.crpix1 = mosaic.crpix2 = 0.0;
@@ -42,7 +37,4 @@
       mosaic.Npolyterms = 0;
       strcpy (mosaic.ctype, "RA---SIN");
-      break;
-    default:
-      return (TRUE);
   }
 
