diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-07 19:55:05 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-07 19:55:05 (GMT) |
commit | b43cd6311a712c01c2c8297fa00809730e504d70 (patch) | |
tree | 74a4cb6c6c83c3b41a92ba1da8df0235abd2dafe /src/latexgen.cpp | |
parent | 95fd5f1c991ee66f7122801276a133ebfce86aaa (diff) | |
download | Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.zip Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.gz Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.bz2 |
Release-1.5.5-20080307
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 05d5b72..4dd4e06 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -606,8 +606,7 @@ void LatexGenerator::endIndexSection(IndexSections is) break; case isMainPage: { - QCString indexName="index"; - if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"; + QCString indexName=usingTreeIndex()?"main":"index"; t << "}\n\\label{index}"; if (Config_getBool("PDF_HYPERLINKS")) t << "\\hypertarget{index}{}"; t << "\\input{" << indexName << "}\n"; |