Index: trunk/ppImage/src/ppImageLoop.c
===================================================================
--- trunk/ppImage/src/ppImageLoop.c	(revision 25930)
+++ trunk/ppImage/src/ppImageLoop.c	(revision 26682)
@@ -100,5 +100,5 @@
 
                 // flip the image to match the native detector orientation (to match bias, flat, etc)
-		if (!ppImageParityFlip(config, options, view, true)) {
+                if (!ppImageParityFlip(config, options, view, true)) {
                     ESCAPE("Unable to detrend readout");
                 }
@@ -131,5 +131,5 @@
 
             // process each of the readouts
-	    // XXX reset the view to the first readout?
+            // XXX reset the view to the first readout?
             while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) {
                 if (!readout->data_exists) {
@@ -140,5 +140,5 @@
                     ESCAPE("Unable to detrend readout");
                 }
-	    }
+            }
 
             // free detrend images potentially in use: MASK, BIAS, DARK, SHUTTER, FLAT
@@ -163,11 +163,11 @@
         }
 
-	// Apply the pattern noise correction
-	if (options->doPattern) {
-	  if (!ppImageDetrendPatternApply(config,chip,view,options)) {
-	    ESCAPE("Unable to apply pattern corrections");
-	  }
-	}
-	
+        // Apply the pattern noise correction
+        if (options->doPattern) {
+          if (!ppImageDetrendPatternApply(config,chip,view,options)) {
+            ESCAPE("Unable to apply pattern corrections");
+          }
+        }
+
         // measure various pixel-based statistics for this image
         if (!ppImagePixelStats(config, stats, options, view)) {
