Ignore:
Timestamp:
04/12/05 17:05:49 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5971 r6932  
    248248    str = str.Strip(TString::kBoth);
    249249
    250     TString typ;
     250    TString typ(str);
    251251    Ssiz_t pos = str.First(' ');
    252252    if (pos>=0)
    253253    {
    254254        typ = str(0, pos);
     255        str.Remove(0, pos);
     256        str = str.Strip(TString::kBoth);
    255257        if (typ!=(TString)"lin" && typ!=(TString)"log" && typ!=(TString)"cos")
    256258        {
     
    261263
    262264    SetEdges(nbins, loedge, upedge, typ.Data());
    263 
    264     str = str.Strip(TString::kBoth);
    265265
    266266    if (!str.IsNull())
Note: See TracChangeset for help on using the changeset viewer.