Index: /trunk/Ohana/src/getstar/src/MatchImages.c
===================================================================
--- /trunk/Ohana/src/getstar/src/MatchImages.c	(revision 13824)
+++ /trunk/Ohana/src/getstar/src/MatchImages.c	(revision 13825)
@@ -15,6 +15,8 @@
   double xmin, xmax, ymin, ymax;
 
-  if (!WITH_PHU && !strcmp (&image[0].coords.ctype[4], "-DIS")) return FALSE;
-  if ( SOLO_PHU &&  strcmp (&image[0].coords.ctype[4], "-DIS")) return FALSE;
+  *Nmatch = 0;
+
+  if (!WITH_PHU && !strcmp (&image[0].coords.ctype[4], "-DIS")) return NULL;
+  if ( SOLO_PHU &&  strcmp (&image[0].coords.ctype[4], "-DIS")) return NULL;
 
   /* project onto rectilinear grid with 1 arcsec pixels */
@@ -25,5 +27,5 @@
     if (MOSAIC == NULL) {
       fprintf (stderr, "no mosaic for WRP image (use -mosaic)\n");
-      return (FALSE);
+      return NULL;
     }
     RegisterMosaic (MOSAIC);
