From 296ded5e4dcb8deef6db6ab30ca357c9b62b32b0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 23 Jul 2003 10:39:41 -0400 Subject: [PATCH] BUG: Fixed off-by-one error in file list loop. Fix submitted by David A. Karr. --- Source/cmSourceGroupCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 4625b1f59..2978aed69 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -40,7 +40,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector 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); }