diff options
author | Brad King <brad.king@kitware.com> | 2003-07-23 10:39:41 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-23 10:39:41 -0400 |
commit | 296ded5e4dcb8deef6db6ab30ca357c9b62b32b0 (patch) | |
tree | a34a1750bcbb3e6d227e69707f6ce9d2b67fcf8e /Source/cmSourceGroupCommand.cxx | |
parent | 8d22e9f70a1653fc6620cc8b5389d1036ec27596 (diff) | |
download | cmake-296ded5e4dcb8deef6db6ab30ca357c9b62b32b0.tar.gz |
BUG: Fixed off-by-one error in file list loop. Fix submitted by David A. Karr.
Diffstat (limited to 'Source/cmSourceGroupCommand.cxx')
-rw-r--r-- | Source/cmSourceGroupCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 4625b1f596..2978aed69c 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -40,7 +40,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args) sg = m_Makefile->GetSourceGroup(args[0].c_str()); } unsigned int cc; - for ( cc = 3; cc < args.size(); cc ++ ) + for ( cc = 2; cc < args.size(); cc ++ ) { sg->AddSource(args[cc].c_str(), 0); } |