]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing the trailing carriage return as well, otherwise removing trailing spaces...
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2012 13:03:50 +0000 (13:03 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2012 13:03:50 +0000 (13:03 +0000)
STEER/STEER/AliGRPPreprocessor.cxx

index 5169ae9fcb11d767a44044550d535dc21d00786b..d9c19ce9aef7f95d8ac0b3ed771f497ebdc1c61b 100644 (file)
@@ -1793,9 +1793,9 @@ THashList* AliGRPPreprocessor::ProcessAliases(const char* aliasesFile)
        TString strLine;
        while (strLine.ReadLine(*file)) {
 
-               //if (strLine.BeginsWith("#")) continue;
                if (strLine.IsNull()) continue;
                strLine.Remove(TString::kLeading,' ');
+               strLine.Remove(TString::kTrailing,'\r');
                strLine.Remove(TString::kTrailing,' ');
 
                TObjArray* arr = strLine.Tokenize(' ');