diff options
-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) |