diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-09-15 12:57:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-15 12:57:15 (GMT) |
commit | e1e2d26a922e601c4494dcfd9accce43a0bbfb68 (patch) | |
tree | a8faed0add4d596731843d40a92cfe429909b55e | |
parent | 59b0ba16aa981fcaa4618f95924ff7b869ea4454 (diff) | |
parent | ef9c151c86073f107ec6556b779cd7b8da3154eb (diff) | |
download | Doxygen-e1e2d26a922e601c4494dcfd9accce43a0bbfb68.zip Doxygen-e1e2d26a922e601c4494dcfd9accce43a0bbfb68.tar.gz Doxygen-e1e2d26a922e601c4494dcfd9accce43a0bbfb68.tar.bz2 |
Merge pull request #6501 from albert-github/feature/bug_latex_endcodeline
Close last code line properly.
-rw-r--r-- | src/latexgen.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 13a88a9..50d4242 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -2222,11 +2222,9 @@ void LatexGenerator::startCodeFragment() void LatexGenerator::endCodeFragment() { - //if (DoxyCodeOpen) - //{ - // t << "}\n"; - // DoxyCodeOpen = FALSE; - //} + //endCodeLine checks is there is still an open code line, if so closes it. + endCodeLine(); + t << "\\end{DoxyCode}\n"; DoxyCodeOpen = FALSE; } |