Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* fixed a typo on a variable name

  • Loading branch information...
commit ac9a8d60a969855e78d22b320626cc5b6381eb15 1 parent b740508
@andrewjanke andrewjanke authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  conversion/micropet/upet2mnc.c
  2. +1 −1  libsrc2/dimension.c
View
3  conversion/micropet/upet2mnc.c
@@ -549,7 +549,8 @@ upet_to_minc(char *hdr_fname, char *img_fname, char *out_fname,
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.
*/
View
2  libsrc2/dimension.c
@@ -105,7 +105,7 @@ micopy_dimension(midimhandle_t dim_ptr, midimhandle_t *new_dim_ptr)
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.