BUG: potential segfault

This commit is contained in:
Ken Martin 2006-10-06 14:00:35 -04:00
parent 22442fd9e1
commit cfb3c9eaa9

View File

@ -1235,7 +1235,10 @@ void cmDocumentation::CreateManDocumentation()
}
this->AddSection("COPYRIGHT", cmDocumentationCopyright);
if(!this->SeeAlsoSection.empty())
{
this->AddSection("SEE ALSO", &this->SeeAlsoSection[0]);
}
this->AddSection("AUTHOR", cmDocumentationAuthor);
}