Index: trunk/psModules/src/objects/pmSource.c
===================================================================
--- trunk/psModules/src/objects/pmSource.c	(revision 6905)
+++ trunk/psModules/src/objects/pmSource.c	(revision 6944)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA: significant modifications.
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-04-19 20:29:57 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-04-21 21:29:01 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -355,4 +355,5 @@
         // inner = psRegionForSquare (tmpSrc->peak->x - tmpSrc->mask->col0, tmpSrc->peak->y - tmpSrc->mask->row0, 2);
         inner = psRegionForSquare (tmpSrc->peak->x, tmpSrc->peak->y, 2);
+        inner = psRegionForImage (tmpSrc->mask, inner);
         int Nsatpix = psImageCountPixelMask (tmpSrc->mask, inner, PM_MASK_SAT);
 
