From 0a29ebad97ec1b63c7f452baef0ec2b050158f45 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 21 Mar 2003 11:24:09 -0500 Subject: [PATCH] BUG: fix broken command --- Source/cmRemoveCommand.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmRemoveCommand.cxx b/Source/cmRemoveCommand.cxx index 44c33d4b2a..a0471a7e00 100644 --- a/Source/cmRemoveCommand.cxx +++ b/Source/cmRemoveCommand.cxx @@ -51,10 +51,10 @@ bool cmRemoveCommand::InitialPass(std::vector const& args) // now create the new value std::string value; - for(unsigned int j = 1; j < varArgsExpanded.size(); ++j) + for(unsigned int j = 0; j < varArgsExpanded.size(); ++j) { int found = 0; - for(unsigned int k = 1; k < argsExpanded.size(); ++k) + for(unsigned int k = 0; k < argsExpanded.size(); ++k) { if (varArgsExpanded[j] == argsExpanded[k]) {