From 75f2cfcffbd0e4667d668e80b9c69ce56e9bd438 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 21 Nov 2018 15:11:20 +0100 Subject: 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) --- src/latexgen.cpp | 5 ----- 1 file changed, 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{"; -- cgit v0.12