summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 7bb9574..5d16e4e 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -4670,7 +4670,7 @@ static void writeIndex(OutputList &ol)
ol.parseText(/*projPrefix+*/ theTranslator->trModuleIndex());
ol.endIndexSection(isModuleIndex);
}
- if (documentedNamespaces>0)
+ if (Config_getBool(SHOW_NAMESPACES) && (documentedNamespaces>0))
{
ol.startIndexSection(isNamespaceIndex);
ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModulesIndex():theTranslator->trNamespaceIndex()));