Index: trunk/ppImage/src/ppImageLoop.c
===================================================================
--- trunk/ppImage/src/ppImageLoop.c	(revision 39501)
+++ trunk/ppImage/src/ppImageLoop.c	(revision 42382)
@@ -172,8 +172,6 @@
 
         // Apply the fringe correction
-        if (options->doFringe) {
-            if (!ppImageDetrendFringeApply(config, chip, view, options)) {
-                ESCAPE("Unable to defringe");
-            }
+	if (!ppImageDetrendFringeApply(config, chip, view, options)) {
+	    ESCAPE("Unable to defringe");
         }
 
@@ -183,9 +181,7 @@
         }
 
-        // Apply the pattern correction
-        if (options->doPatternRow || options->doPatternCell || options->doPatternContinuity) {
-          if (!ppImageDetrendPatternApply(config,chip,view,options)) {
-            ESCAPE("Unable to apply pattern corrections");
-          }
+        // Apply the pattern correction (only done if requested)
+	if (!ppImageDetrendPatternApply(config,chip,view,options)) {
+            ESCAPE("Problem applying pattern corrections");
         }
 
