summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-03-19 21:28:43 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-03-19 21:28:43 (GMT)
commitb11bb229001fbb79399e3c21860ae6fb4608e77a (patch)
tree15189b5b8aea028e7ff9c9ad19867cb3be0fee9d /src/index.cpp
parentce5e0dcf2d3d55df510b76519ef43642bc331d96 (diff)
downloadDoxygen-b11bb229001fbb79399e3c21860ae6fb4608e77a.zip
Doxygen-b11bb229001fbb79399e3c21860ae6fb4608e77a.tar.gz
Doxygen-b11bb229001fbb79399e3c21860ae6fb4608e77a.tar.bz2
Release-1.2.6-20010319
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.cpp b/src/index.cpp
index f11fb3f..83495b8 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2122,7 +2122,7 @@ void writeGraphInfo(OutputList &ol)
* \author KPW
*/
-void writeGroupTreeNode(OutputList &ol, GroupDef *gd)
+void writeGroupTreeNode(OutputList &ol, GroupDef *gd,bool subLevel)
{
HtmlHelp *htmlHelp=0;
FTVHelp *ftvHelp = 0;
@@ -2139,7 +2139,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd)
GroupDef *subgd = 0;
GroupListIterator gli(*gd->groupList);
- if (!gd->visited)
+ if (!gd->visited && (!gd->isASubGroup() || subLevel))
{
//printf("gd->name()=%s #members=%d\n",gd->name().data(),gd->countMembers());
// write group info
@@ -2200,7 +2200,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd)
ol.startIndexList();
for (gli.toLast();(subgd=gli.current());--gli)
{
- writeGroupTreeNode(ol,subgd);
+ writeGroupTreeNode(ol,subgd,TRUE);
}
ol.endIndexList();
}
@@ -2403,7 +2403,7 @@ void writeGroupHierarchy(OutputList &ol)
GroupDef *gd;
for (;(gd=gli.current());++gli)
{
- writeGroupTreeNode(ol,gd);
+ writeGroupTreeNode(ol,gd,FALSE);
}
ol.endIndexList();
}