Index: trunk/psLib/src/fits/psFitsImage.c
===================================================================
--- trunk/psLib/src/fits/psFitsImage.c	(revision 15919)
+++ trunk/psLib/src/fits/psFitsImage.c	(revision 15920)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-12-24 21:00:55 $
+ *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-12-25 01:31:21 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -516,5 +516,5 @@
     assert(image);
 
-    *bscale = 0.0;
+    *bscale = 1.0;
     *bzero = 0.0;
     *floatType = PS_FITS_FLOAT_NONE;
@@ -804,5 +804,5 @@
     // an unsigned integer type).  In all other cases, we have already converted the image to use the
     // appropriate scale and zero (because we want to apply a randomiser to the quantisation).
-    fits_set_bscale(fits->fd, 1.0, cfitsioBzero, &status);
+    fits_set_bscale(fits->fd, 1.0, bzero, &status);
 
     if (bscale != 0.0) {
