Commit 10189681 authored by Dimitri van Heesch's avatar Dimitri van Heesch

[PATCH] Fix broken links to subpages in LaTeX output

parent 837d6331
......@@ -1544,8 +1544,8 @@ void LatexDocVisitor::endLink(const QCString &ref,const QCString &file,const QCS
m_t << "{";
filter(theTranslator->trPageAbbreviation());
m_t << "}{" << file;
if (!anchor.isEmpty()) m_t << "_" << anchor;
m_t << "}";
if (!file.isEmpty() && !anchor.isEmpty()) m_t << "_";
m_t << anchor << "}";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment