summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 3310357..adb82f3 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -303,14 +303,14 @@ void startFile(OutputList &ol,const char *name,const char *manName,
}
}
-void endFile(OutputList &ol,bool skipNavIndex)
+void endFile(OutputList &ol,bool skipNavIndex,bool skipEndContents)
{
static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW");
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Html);
if (!skipNavIndex)
{
- ol.endContents();
+ if (!skipEndContents) ol.endContents();
ol.writeSearchInfo();
if (generateTreeView)
{
@@ -331,7 +331,7 @@ void endFileWithNavPath(Definition *d,OutputList &ol)
{
d->writeNavigationPath(ol);
}
- endFile(ol,generateTreeView);
+ endFile(ol,generateTreeView,TRUE);
}
//----------------------------------------------------------------------