diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index 9f73dc1a0..744f11509 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -322,7 +322,7 @@ int CommandLineArguments::Parse() void CommandLineArguments::GetRemainingArguments(int* argc, char*** argv) { CommandLineArguments::Internal::VectorOfStrings::size_type size - = this->Internals->Argv.size() - this->Internals->LastArgument + 1; + = this->Internals->Argv.size() - this->Internals->LastArgument; CommandLineArguments::Internal::VectorOfStrings::size_type cc; // Copy Argv0 as the first argument