Changeset 41422 for trunk/Ohana/src/libfits/table/F_compress_T.c
- Timestamp:
- Sep 24, 2020, 2:44:55 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/table/F_compress_T.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/table/F_compress_T.c
r39530 r41422 191 191 goto got_cmptype; 192 192 } 193 if (!strcmp (fields[field].datatype, " byte") ||193 if (!strcmp (fields[field].datatype, "gfbyte") || 194 194 !strcmp (fields[field].datatype, "char")) { 195 195 strcpy (fields[field].zctype, "GZIP_1"); … … 208 208 209 209 // OVERRIDE: GZIP_2 invalid for B (use GZIP_1) 210 if (!strcasecmp (fields[field].zctype, "GZIP_2") && !strcmp (fields[field].datatype, " byte")) {210 if (!strcasecmp (fields[field].zctype, "GZIP_2") && !strcmp (fields[field].datatype, "gfbyte")) { 211 211 strcpy (fields[field].zctype, "GZIP_1"); 212 212 }
Note:
See TracChangeset
for help on using the changeset viewer.
