Index: trunk/psLib/src/fits/psFitsScale.c
===================================================================
--- trunk/psLib/src/fits/psFitsScale.c	(revision 41505)
+++ trunk/psLib/src/fits/psFitsScale.c	(revision 41521)
@@ -131,4 +131,5 @@
     psStats *stats = psStatsAlloc(MEAN_STAT | STDEV_STAT); // Statistics object
     double mean, stdev;                                    // Mean and standard deviation
+
     if (!psImageBackground(stats, NULL, image, mask, maskVal, rng)) {
         // It could be because the image is entirely masked, in which case we don't want to error
@@ -919,8 +920,8 @@
       case PS_FITS_SCALE_STDEV_NEGATIVE:
       case PS_FITS_SCALE_STDEV_BOTH:
-        if (!scaleStdev(bscale, bzero, image, mask, maskVal, options)) {
+	if (!scaleStdev(bscale, bzero, image, mask, maskVal, options)) {
             psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from stdev");
             return false;
-        }
+	}
         break;
       case PS_FITS_SCALE_LOG_RANGE:
