Skip to content

Commit

Permalink
[PATCH] Fix broken links to subpages in LaTeX output
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Apr 12, 2014
1 parent 837d633 commit 1018968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/latexdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 << "}";
}
}

Expand Down

0 comments on commit 1018968

Please sign in to comment.