Ignore:
Timestamp:
02/09/07 09:02:23 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfbase/MFDataPhrase.cc

    r8276 r8310  
    1818!   Author(s): Thomas Bretz  01/2002 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2005
     20!   Copyright: MAGIC Software Development, 2000-2007
    2121!
    2222!
     
    273273Int_t MFDataPhrase::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
    274274{
    275     Int_t rc = MFilter::ReadEnv(env, prefix, print);
    276     if (rc==kERROR)
     275    Int_t rc1 = MFilter::ReadEnv(env, prefix, print);
     276    if (rc1==kERROR)
    277277        return kERROR;
    278278
     
    329329            *fLog << endl;
    330330        }
     331
     332        rc1 = kTRUE;
    331333    }
    332334    else
     
    340342    }
    341343
    342     if (fData->ReadEnv(env, prefix, print)==kERROR)
     344    const Int_t rc2 = fData->ReadEnv(env, prefix, print);
     345    if (rc2==kERROR)
    343346        return kERROR;
    344347
     
    351354            SetInverted(kFALSE);*/
    352355
    353     return kTRUE;
    354 }
     356    return rc1 || rc2;
     357}
Note: See TracChangeset for help on using the changeset viewer.