Changeset 7696 for trunk


Ignore:
Timestamp:
05/05/06 10:38:06 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MH3.cc

    r7413 r7696  
    567567
    568568    TString str(opt);
    569     str = str.Strip(TString::kBoth);
    570 
    571     const Bool_t only  = str.Contains("ONLY",  TString::kIgnoreCase) && fDimension==2;
    572     const Bool_t same  = str.Contains("SAME",  TString::kIgnoreCase) && fDimension==2;
    573     const Bool_t blue  = str.Contains("BLUE",  TString::kIgnoreCase) && fDimension==2;
    574     const Bool_t profx = str.Contains("PROFX", TString::kIgnoreCase) && fDimension==2;
    575     const Bool_t profy = str.Contains("PROFY", TString::kIgnoreCase) && fDimension==2;
     569    str.ToLower();
     570
     571    const Bool_t only  = str.Contains("only") && fDimension==2;
     572    const Bool_t same  = str.Contains("same") && fDimension==2;
     573    const Bool_t blue  = str.Contains("blue") && fDimension==2;
     574    const Bool_t profx = str.Contains("profx") && fDimension==2;
     575    const Bool_t profy = str.Contains("profy") && fDimension==2;
    576576
    577577    str.ReplaceAll("only",  "");
Note: See TracChangeset for help on using the changeset viewer.