changeset 2542:12689649a8f0

* fixed a typo on a variable name
author Andrew L Janke <a.janke@gmail.com>
date Fri, 12 Aug 2011 00:43:26 +1000
parents b4584c9a2140
children 30d803b0fe2f
files conversion/micropet/upet2mnc.c libsrc2/dimension.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/conversion/micropet/upet2mnc.c
+++ b/conversion/micropet/upet2mnc.c
@@ -549,7 +549,8 @@
     ci.frame_nvoxels = 1;
 
     /* When we read voxels, we need COMBINED_SCALE_FACTOR() to have a sane
-     * value for all modalities. Set defaults for these in case the modality         * does not define one of these factors. For example, a CT (modality 2)
+     * value for all modalities. Set defaults for these in case the modality
+     * does not define one of these factors. For example, a CT (modality 2)
      * will not define isotope_branching_fraction or calibration_factor.
      */
 
--- a/libsrc2/dimension.c
+++ b/libsrc2/dimension.c
@@ -105,7 +105,7 @@
     handle->step = 0.0;
   }
   //check to make sure string is not empty or null
-  if (dim_ptr->units == NULL  || *dim_ptr->unit == '\0') {
+  if (dim_ptr->units == NULL  || *dim_ptr->units == '\0') {
     handle->units = strdup("mm");
   }
   else {