Commit ae962ae4 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fix to prevent .doc, .dox, and .txt files to appear in the index

parent 48450ace
...@@ -784,9 +784,12 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex) ...@@ -784,9 +784,12 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex)
reference = fd->getReference(); reference = fd->getReference();
outputBase = fd->getOutputFileBase(); outputBase = fd->getOutputFileBase();
} }
if (doc || src)
{
ftv->addContentsItem(FALSE,fd->displayName(), ftv->addContentsItem(FALSE,fd->displayName(),
reference, outputBase, 0, reference, outputBase, 0,
FALSE,FALSE,fd); FALSE,FALSE,fd);
}
if (addToIndex) if (addToIndex)
{ {
if (doc) if (doc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment