BUG: Fixed off-by-one error in file list loop. Fix submitted by David A. Karr.

This commit is contained in:
Brad King 2003-07-23 10:39:41 -04:00
parent 8d22e9f70a
commit 296ded5e4d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}