diff options
author | Brad King <brad.king@kitware.com> | 2003-07-23 14:39:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-23 14:39:41 (GMT) |
commit | 296ded5e4dcb8deef6db6ab30ca357c9b62b32b0 (patch) | |
tree | a34a1750bcbb3e6d227e69707f6ce9d2b67fcf8e /Source/cmSourceGroupCommand.cxx | |
parent | 8d22e9f70a1653fc6620cc8b5389d1036ec27596 (diff) | |
download | CMake-296ded5e4dcb8deef6db6ab30ca357c9b62b32b0.zip CMake-296ded5e4dcb8deef6db6ab30ca357c9b62b32b0.tar.gz CMake-296ded5e4dcb8deef6db6ab30ca357c9b62b32b0.tar.bz2 |
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 4625b1f..2978aed 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); } |