- Timestamp:
- Apr 1, 2012, 2:12:45 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsImage.c
r32597 r33645 97 97 98 98 /* Validate the number of axis */ 99 if ( (info->nAxis < 2) || (info->nAxis > 3)) {99 if (info->nAxis > 3) { 100 100 psError(PS_ERR_IO, true, 101 101 _("Image number of dimensions, %d, is not supported."), info->nAxis); … … 108 108 goto bad; 109 109 } 110 111 info->nAxes[0] = PS_MAX (info->nAxes[0], 1); 112 info->nAxes[1] = PS_MAX (info->nAxes[1], 1); 113 info->nAxes[2] = PS_MAX (info->nAxes[2], 1); 110 114 111 115 info->firstPixel[0] = region.x0 + 1;
Note:
See TracChangeset
for help on using the changeset viewer.
