diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-12 09:54:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-12 09:54:54 (GMT) |
commit | 10189681dcb46e543a287827e2096cef3dbc42ae (patch) | |
tree | 719db1330bd1e40d78f240c8df7e1c7ce0ae22b0 /src | |
parent | 837d63319a7b014412cb3cb2b5d27d2474a932c2 (diff) | |
download | Doxygen-10189681dcb46e543a287827e2096cef3dbc42ae.zip Doxygen-10189681dcb46e543a287827e2096cef3dbc42ae.tar.gz Doxygen-10189681dcb46e543a287827e2096cef3dbc42ae.tar.bz2 |
[PATCH] Fix broken links to subpages in LaTeX output
Diffstat (limited to 'src')
-rw-r--r-- | src/latexdocvisitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 441b697..68f0f06 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -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 << "}"; } } |