Index: trunk/ppImage/src/ppImageDetrendMask.c
===================================================================
--- trunk/ppImage/src/ppImageDetrendMask.c	(revision 7508)
+++ trunk/ppImage/src/ppImageDetrendMask.c	(revision 7716)
@@ -16,7 +16,7 @@
 
     if (mask->image->type.type != PS_TYPE_MASK) {
-	image = psImageCopy (NULL, mask->image, PS_TYPE_MASK);
+        image = psImageCopy (NULL, mask->image, PS_TYPE_MASK);
     } else {
-	image = psMemIncrRefCounter (mask->image);
+        image = psMemIncrRefCounter (mask->image);
     }
 
@@ -34,6 +34,6 @@
 
 
-// XXX this function needs to use pmReadoutSetMask to construct the initial mask
+// XXX this function needs to use pmReadoutGenerateMask to construct the initial mask
 // then the pixels will correspond and pmMaskBadPixels can be correctly applied.
-// this function should not have to lookup the value of CELL.SATURATION, nor should it have to 
-// apply it.  
+// this function should not have to lookup the value of CELL.SATURATION, nor should it have to
+// apply it.
