ERR: Fix memory problem

This commit is contained in:
Andy Cedilnik 2004-09-23 15:02:22 -04:00
parent 4b9386751a
commit b3481a9675
1 changed files with 1 additions and 1 deletions

View File

@ -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;
= this->Internals->Argv.size() - this->Internals->LastArgument + 1;
CommandLineArguments::Internal::VectorOfStrings::size_type cc;
// Copy Argv0 as the first argument