summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-07-12 20:39:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-07-12 20:39:15 (GMT)
commitaa849afd11acf245033a5965a2c7c96b26db3bf0 (patch)
tree9575ceadb6e8e71208a01f3f1f95811e3013fa36
parentef81c70eb23c904a8bc9f966515b9e6c643c803e (diff)
downloadDoxygen-aa849afd11acf245033a5965a2c7c96b26db3bf0.zip
Doxygen-aa849afd11acf245033a5965a2c7c96b26db3bf0.tar.gz
Doxygen-aa849afd11acf245033a5965a2c7c96b26db3bf0.tar.bz2
Fix to prevent .doc, .dox, and .txt files to appear in the index
-rw-r--r--src/index.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 7053bb6..387aa54 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -784,9 +784,12 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex)
reference = fd->getReference();
outputBase = fd->getOutputFileBase();
}
- ftv->addContentsItem(FALSE,fd->displayName(),
- reference, outputBase, 0,
- FALSE,FALSE,fd);
+ if (doc || src)
+ {
+ ftv->addContentsItem(FALSE,fd->displayName(),
+ reference, outputBase, 0,
+ FALSE,FALSE,fd);
+ }
if (addToIndex)
{
if (doc)