Changeset 12466 for trunk


Ignore:
Timestamp:
11/09/11 12:48:04 (13 years ago)
Author:
kraehenb
Message:
Fixed the PrintKeys() bug, the function works now as expected. Changes: line 295-303 '!=' replaced by '=='.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r12329 r12466  
    293293            {
    294294                if (!display_all &&
    295                     (it->first.substr(0, 6)!="TTYPE" ||
    296                      it->first.substr(0, 6)!="TFORM" ||
    297                      it->first.substr(0, 6)!="TUNIT" ||
    298                      it->first!="TFIELDS"  ||
    299                      it->first!="XTENSION" ||
    300                      it->first!="NAXIS"    ||
    301                      it->first!="BITPIX"   ||
    302                      it->first!="PCOUNT"   ||
    303                      it->first!="GCOUNT")
     295                    (it->first.substr(0, 6)=="TTYPE" ||
     296                     it->first.substr(0, 6)=="TFORM" ||
     297                     it->first.substr(0, 6)=="TUNIT" ||
     298                     it->first=="TFIELDS"  ||
     299                     it->first=="XTENSION" ||
     300                     it->first=="NAXIS"    ||
     301                     it->first=="BITPIX"   ||
     302                     it->first=="PCOUNT"   ||
     303                     it->first=="GCOUNT")
    304304                   )
    305305                    continue;
Note: See TracChangeset for help on using the changeset viewer.