Changeset 2441
- Timestamp:
- 03/22/12 19:28:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NROFITSDataset.cc
r2440 r2441 2359 2359 int NROFITSDataset::movePointer( char *name, int idx ) 2360 2360 { 2361 // skip header2362 fseek( fp_, FITS_HEADER_SIZE, SEEK_SET ) ;2363 2364 2361 // find offset 2365 2362 int offset = getOffset( name ) ; … … 2372 2369 2373 2370 //cout << "offset for " << name << " is " << offset << " bytes." << endl ; 2374 fseek( fp_, offset, SEEK_CUR) ;2371 fseek( fp_, FITS_HEADER_SIZE+offset, SEEK_SET ) ; 2375 2372 2376 2373 return 0 ;
Note:
See TracChangeset
for help on using the changeset viewer.