Skip to content
Snippets Groups Projects
Commit 0c3e6258 authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Fix trailing whitespace trimming in otbApplicationLauncherCommandLine...

BUG: Fix trailing whitespace trimming in otbApplicationLauncherCommandLine (kindly provided by Laurentiu Nicola)

std::string::find_last_not_of() returns a position, while std::string::substr takes an offset and a length. Fix the length computation and also add a comment regarding whether cleanStart must be checked.
parent 6eb64b68
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment