diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-07-12 20:39:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-07-12 20:39:15 (GMT) |
commit | ae962ae4a4dd46f4730982f97110cbf3d2aef397 (patch) | |
tree | 9575ceadb6e8e71208a01f3f1f95811e3013fa36 /src | |
parent | 48450aced4111d3a4139ef33b2de848473c0c439 (diff) | |
download | Doxygen-ae962ae4a4dd46f4730982f97110cbf3d2aef397.zip Doxygen-ae962ae4a4dd46f4730982f97110cbf3d2aef397.tar.gz Doxygen-ae962ae4a4dd46f4730982f97110cbf3d2aef397.tar.bz2 |
Fix to prevent .doc, .dox, and .txt files to appear in the index
Diffstat (limited to 'src')
-rw-r--r-- | src/index.cpp | 9 |
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) |