diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-09-27 19:08:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-09-27 19:08:41 (GMT) |
commit | 502e03dad20b333748d73fdea4cf6d7cb0ab31a8 (patch) | |
tree | cb1b7947527739f8652cc478c3307678761f6a69 /src/latexgen.cpp | |
parent | a0f637dcc6624b54f03cc17e765d5f5f7bc5bc70 (diff) | |
download | Doxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.zip Doxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.tar.gz Doxygen-502e03dad20b333748d73fdea4cf6d7cb0ab31a8.tar.bz2 |
Fix for broken LaTeX output.
Fixes error:
"\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}"
while generating the LaTeX version of the manual
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 292767e..3343c1a 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -260,12 +260,12 @@ void LatexCodeGenerator::startCodeFragment(const char *style) m_t << "\n\\begin{" << style << "}{" << m_usedTableLevel << "}\n"; } -void LatexCodeGenerator::endCodeFragment() +void LatexCodeGenerator::endCodeFragment(const char *style) { //endCodeLine checks is there is still an open code line, if so closes it. endCodeLine(); - m_t << "\\end{DoxyCode}\n"; + m_t << "\\end{" << style << "}\n"; } |