summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-07-20 20:05:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-07-20 20:05:52 (GMT)
commit142b4807d2ae7479691bd0800d28364b9857b82f (patch)
treeb8b0cb3ac894bdb88087d78e328a8a0d88943b97 /src/latexgen.cpp
parentb70a5b4f9325ec703db37394feeaa9ebc11228b4 (diff)
downloadDoxygen-142b4807d2ae7479691bd0800d28364b9857b82f.zip
Doxygen-142b4807d2ae7479691bd0800d28364b9857b82f.tar.gz
Doxygen-142b4807d2ae7479691bd0800d28364b9857b82f.tar.bz2
Release-1.5.9-20090720
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 37a3454..b76c7e2 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -793,9 +793,9 @@ void LatexGenerator::endIndexSection(IndexSections is)
if (isFirst)
{
t << "}\n\\input{" << fd->getOutputFileBase() << "}\n";
- if (sourceBrowser && m_prettyCode)
+ if (sourceBrowser && m_prettyCode && fd->generateSourceFile())
{
- t << "\\input{" << fd->getSourceFileBase() << "}\n";
+ t << "\\include{" << fd->getSourceFileBase() << "}\n";
}
isFirst=FALSE;
}
@@ -803,10 +803,9 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (compactLatex) t << "\\input" ; else t << "\\include";
t << "{" << fd->getOutputFileBase() << "}\n";
- if (sourceBrowser && m_prettyCode)
+ if (sourceBrowser && m_prettyCode && fd->generateSourceFile())
{
- if (compactLatex) t << "\\input" ; else t << "\\include";
- t << "{" << fd->getSourceFileBase() << "}\n";
+ t << "\\include{" << fd->getSourceFileBase() << "}\n";
}
}
}