Changeset 12801 for trunk/psLib/src/fits/psFits.c
- Timestamp:
- Apr 11, 2007, 7:01:50 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFits.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r12555 r12801 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 3-23 00:34:52$9 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-04-11 17:01:50 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 210 210 int hdutype = 0; 211 211 char name[MAX_STRING_LENGTH]; 212 char extstring[MAX_STRING_LENGTH]; 213 214 sprintf (extstring, "'%s'", extname); 212 215 213 216 // NOTE: fits_* return 0 for success … … 229 232 continue; 230 233 } 234 // if this was read as a string, we will have leading and trailing single-quotes 235 // try both for comparison 236 231 237 // do we have the right hdu (names match)? 232 if (!strcmp (name, extname) ) {238 if (!strcmp (name, extname) || !strcmp (name, extstring)) { 233 239 return true; 234 240 }
Note:
See TracChangeset
for help on using the changeset viewer.
