Changeset 8003
- Timestamp:
- Jul 27, 2006, 4:52:42 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/gstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/gstars.c
r7080 r8003 4 4 5 5 FILE *f; 6 int j, N, Nbytes, extend ;6 int j, N, Nbytes, extend, naxis; 7 7 int itmp, hour, min; 8 8 char *name, *c, photname[64], line[80]; … … 177 177 } else { 178 178 /* read from FITS table or from text table */ 179 extend = FALSE;180 gfits_scan (&header, " EXTEND", "%t", 1, &extend);181 if ( extend&& !TEXTMODE) {179 naxis = 2; 180 gfits_scan (&header, "NAXIS", "%d", 1, &naxis); 181 if ((naxis == 0) && !TEXTMODE) { 182 182 Nbytes = gfits_matrix_size (&header); 183 183 fseek (f, Nbytes, SEEK_CUR);
Note:
See TracChangeset
for help on using the changeset viewer.
