- Timestamp:
- May 28, 2015, 8:27:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/libfits/table/F_define_column.c
r35756 r38329 66 66 sprintf (field, "TTYPE%d", Nfields); 67 67 gfits_modify (header, field, "%s", 1, label); 68 gfits_modify_alt (header, field, "%C", 1, comment); 69 sprintf (field, "TUNIT%d", Nfields); 70 gfits_modify (header, field, "%s", 1, unit); 68 if (comment) { 69 gfits_modify_alt (header, field, "%C", 1, comment); 70 } 71 if (unit) { 72 sprintf (field, "TUNIT%d", Nfields); 73 gfits_modify (header, field, "%s", 1, unit); 74 } 71 75 sprintf (field, "TFORM%d", Nfields); 72 76 gfits_modify (header, field, "%s", 1, format);
Note:
See TracChangeset
for help on using the changeset viewer.
