Changeset 9059 for trunk/MagicSoft


Ignore:
Timestamp:
07/31/08 10:41:02 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/merpp.cc

    r9058 r9059  
    220220
    221221        if (arg2.EndsWith(".txt"))  // set --summary
     222        {
     223            *fLog << inf << "Summary file option switched on automatically due to file extension." << endl;
    222224            kHeaderRun = 0;
     225        }
    223226
    224227        kUpdate = kTRUE;
  • trunk/MagicSoft/Mars/mreport/MReportCamera.cc

    r9005 r9059  
    505505
    506506    const Ssiz_t pos = str.First(' ');
     507    /*
    507508    if (pos<0)
    508509    {
     
    510511        return kFALSE;
    511512    }
    512 
    513     fHV->fFileName = str(0, pos);
     513    */
     514
     515    fHV->fFileName = pos<0 ? (TString)"" : str(0, pos);
     516    if (pos<0)
     517        return kTRUE;
    514518
    515519    str.Remove(0, pos);
Note: See TracChangeset for help on using the changeset viewer.