Corrected the name for the source doc file created by the -srcDoc option.

This commit is contained in:
henry
2009-12-08 15:04:44 +00:00
parent 94ab70b94d
commit 0a533f700d

View File

@ -827,12 +827,12 @@ void Foam::argList::displayDoc(bool source) const
List<fileName> docDirs(docDict.lookup("doxyDocDirs"));
List<fileName> docExts(docDict.lookup("doxySourceFileExts"));
// for source code: change foo_8C.html to foo_8C-source.html
// for source code: change foo_8C.html to foo_8C_source.html
if (source)
{
forAll(docExts, extI)
{
docExts[extI].replace(".", "-source.");
docExts[extI].replace(".", "_source.");
}
}