Fork me on GitHub

Changeset c3547ed in git for converters


Ignore:
Timestamp:
May 25, 2018, 7:32:17 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
4689481
Parents:
2ede24b
Message:

improve argument parsing in root2lhco.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • converters/root2lhco.cpp

    r2ede24b rc3547ed  
    478478  }
    479479
    480   for(i = 2; i < argc; ++i)
     480  i = 2;
     481  while(i < argc)
    481482  {
    482483    result = ArgSplitter(argv[i]);
     
    487488      for(j = i + 1; j < argc; ++j) argv[j - 1] = argv[j];
    488489      --argc;
    489       break;
     490    }
     491    else
     492    {
     493      ++i;
    490494    }
    491495  }
Note: See TracChangeset for help on using the changeset viewer.