summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-24 16:16:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-24 16:16:39 (GMT)
commit0c9bfb1e7fee31b0f35201e255096df4f6451035 (patch)
tree4d1a863a3e01975cb0300efd330b7a7fb560ee87 /src/index.cpp
parenta0758fd182732a710364bdf3ebf5c2fb87b0ff70 (diff)
downloadDoxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.zip
Doxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.tar.gz
Doxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.tar.bz2
Release-1.2.4
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 9ef8bc1..08a77cd 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -704,7 +704,7 @@ int countNamespaces()
NamespaceDef *nd;
for (;(nd=nli.current());++nli)
{
- if (nd->isLinkableInProject() && nd->countMembers()>0) count++;
+ if (nd->isLinkableInProject()) count++;
}
return count;
}
@@ -746,12 +746,17 @@ void writeNamespaceIndex(OutputList &ol)
//ol.newParagraph();
ol.endTextBlock();
- ol.startIndexList();
+ bool first=TRUE;
NamespaceDef *nd=namespaceList.first();
while (nd)
{
- if (nd->isLinkableInProject() && nd->countMembers()>0)
+ if (nd->isLinkableInProject())
{
+ if (first)
+ {
+ ol.startIndexList();
+ first=FALSE;
+ }
ol.writeStartAnnoItem("namespace",nd->getOutputFileBase(),0,nd->name());
if (!nd->briefDescription().isEmpty())
{
@@ -776,7 +781,7 @@ void writeNamespaceIndex(OutputList &ol)
}
nd=namespaceList.next();
}
- ol.endIndexList();
+ if (!first) ol.endIndexList();
if (hasHtmlHelp)
{
htmlHelp->decContentsDepth();