diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-03-21 16:24:09 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-03-21 16:24:09 (GMT) |
commit | 0a29ebad97ec1b63c7f452baef0ec2b050158f45 (patch) | |
tree | c427ac924add7229241eea1134cf1854b5a50fea /Source/cmRemoveCommand.cxx | |
parent | aabd048825980cbd6b15b9d6d88dca67c317e19d (diff) | |
download | CMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.zip CMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.tar.gz CMake-0a29ebad97ec1b63c7f452baef0ec2b050158f45.tar.bz2 |
BUG: fix broken command
Diffstat (limited to 'Source/cmRemoveCommand.cxx')
-rw-r--r-- | Source/cmRemoveCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmRemoveCommand.cxx b/Source/cmRemoveCommand.cxx index 44c33d4..a0471a7 100644 --- a/Source/cmRemoveCommand.cxx +++ b/Source/cmRemoveCommand.cxx @@ -51,10 +51,10 @@ bool cmRemoveCommand::InitialPass(std::vector<std::string> 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]) { |