BUG: fix failing test

This commit is contained in:
Bill Hoffman 2008-05-20 12:15:40 -04:00
parent fd0e8b3a56
commit afdc33dbb8
1 changed files with 4 additions and 3 deletions

View File

@ -259,11 +259,12 @@ bool cmListCommand::HandleAppendCommand(std::vector<std::string> const& args)
std::string listString;
this->GetListString(listString, listName.c_str());
size_t cc;
const char* sep = "";
for ( cc = 2; cc < args.size(); ++ cc )
{
listString += sep;
sep = ";";
if(listString.size())
{
listString += ";";
}
listString += args[cc];
}