summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 031f01f..711e760 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3008,7 +3008,8 @@ void writeIndex(OutputList &ol)
{
ol.startIndexSection(isCompoundIndex);
ol.parseText(/*projPrefix+*/
- (vhdlOpt ? VhdlDocGen::trDesignUnitIndex() :
+ (fortranOpt ? theTranslator->trCompoundIndexFortran() :
+ vhdlOpt ? VhdlDocGen::trDesignUnitIndex() :
theTranslator->trCompoundIndex()
));
ol.endIndexSection(isCompoundIndex);