diff options
author | albert-github <albert.tests@gmail.com> | 2018-11-21 14:11:20 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-11-21 14:11:20 (GMT) |
commit | 75f2cfcffbd0e4667d668e80b9c69ce56e9bd438 (patch) | |
tree | 768606bd3e87b4e3b99e1d53aaf86e1cdf80f90e | |
parent | 50879dd77d551cd62c5a6db2f3f322ae69b115b7 (diff) | |
download | Doxygen-75f2cfcffbd0e4667d668e80b9c69ce56e9bd438.zip Doxygen-75f2cfcffbd0e4667d668e80b9c69ce56e9bd438.tar.gz Doxygen-75f2cfcffbd0e4667d668e80b9c69ce56e9bd438.tar.bz2 |
Issue #6631 Code blocks incorrectly formatted in Latex
The line wrapping is automatically done in the DoxyCodeLine environment, so no need for extra spaces etc.
(The m_col is still required for resolving tab positions)
-rw-r--r-- | src/latexgen.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 45b06bf..94c3dd1 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -165,11 +165,6 @@ void LatexCodeGenerator::writeCodeLink(const char *ref,const char *f, static bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS); static bool usePDFLatex = Config_getBool(USE_PDFLATEX); int l = qstrlen(name); - if (m_col+l>80) - { - m_t << "\n "; - m_col=0; - } if (!ref && usePDFLatex && pdfHyperlinks) { m_t << "\\mbox{\\hyperlink{"; |