summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-07-15 17:11:26 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-07-15 17:11:26 (GMT)
commit5346e18047c0e047db2f1b13dc2c767a73c5c305 (patch)
treebc5400211360251f121d60efdd50b09f10db11d2 /src/rtfgen.cpp
parentd723d351b1ec59ad9db456f820d59a6e270f21a4 (diff)
downloadDoxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.zip
Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.gz
Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.bz2
Release-1.2.8-20010715
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 4582025..e3345ca 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -1127,7 +1127,9 @@ void RTFGenerator::endIndexSection(IndexSections is)
case isMainPage:
t << "\\par " << Rtf_Style_Reset << endl;
t << "{\\tc \\v " << theTranslator->trMainPage() << "}"<< endl;
- t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"index.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n";
+ t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"";
+ if (Config_getBool("GENERATE_TREEVIEW")) t << "main"; else t << "index";
+ t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n";
break;
case isPackageIndex:
t << "\\par " << Rtf_Style_Reset << endl;