summaryrefslogtreecommitdiffstats
path: root/src/docsets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r--src/docsets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp
index 5138057..fa14cfa 100644
--- a/src/docsets.cpp
+++ b/src/docsets.cpp
@@ -232,7 +232,7 @@ void DocSets::addContentsItem(bool isDir,
void DocSets::addIndexItem(Definition *context,MemberDef *md,const char *)
{
- if (md==0 || context==0) return; // TODO: also index non members...
+ if (md==0 && context==0) return;
FileDef *fd = 0;
ClassDef *cd = 0;