Index: /branches/eam_branches/20091201/ppSub/src/ppSubMakePSF.c
===================================================================
--- /branches/eam_branches/20091201/ppSub/src/ppSubMakePSF.c	(revision 26801)
+++ /branches/eam_branches/20091201/ppSub/src/ppSubMakePSF.c	(revision 26802)
@@ -87,5 +87,5 @@
     psArray *sources = detections->allSources;
     psAssert(sources, "missing sources?");
-    
+
     // XXX filter sources?  limit the total number and return only brighter objects?
     // use flags to toss totally bogus entries?
@@ -98,5 +98,5 @@
         ppSubDataQuality(data, PSPHOT_ERR_PSF, PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV);
         psFree(view);
-	psFree(goodSources);
+        psFree(goodSources);
         return true;
     }
@@ -166,4 +166,5 @@
         return false;
     }
+
     psMetadataAddPtr(outputChip->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN | PS_META_REPLACE, "PSF from ppSubMakePSF", psf);
 
@@ -175,5 +176,5 @@
 # define MAX_NPSF 500
 
-psArray *ppSubSelectPSFSources(psArray *sources){ 
+psArray *ppSubSelectPSFSources(psArray *sources){
 
     sources = psArraySort (sources, pmSourceSortBySN);
@@ -184,16 +185,16 @@
     for (int i = 0; (nPSF < MAX_NPSF) && (i < sources->n); i++) {
 
-	pmSource *source = sources->data[i];
-	if (!source) continue;
-
-	// skip non-astronomical objects (very likely defects)
-	if (source->type == PM_SOURCE_TYPE_DEFECT) continue;
-	if (source->type == PM_SOURCE_TYPE_SATURATED) continue;
-	if (source->mode & PM_SOURCE_MODE_SATSTAR) continue;
-	
-	psArrayAdd (subset, 100, source);
-	nPSF++;
-    }
-    
+        pmSource *source = sources->data[i];
+        if (!source) continue;
+
+        // skip non-astronomical objects (very likely defects)
+        if (source->type == PM_SOURCE_TYPE_DEFECT) continue;
+        if (source->type == PM_SOURCE_TYPE_SATURATED) continue;
+        if (source->mode & PM_SOURCE_MODE_SATSTAR) continue;
+
+        psArrayAdd (subset, 100, source);
+        nPSF++;
+    }
+
     return subset;
 }
