summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-09-15 12:57:15 (GMT)
committerGitHub <noreply@github.com>2018-09-15 12:57:15 (GMT)
commite1e2d26a922e601c4494dcfd9accce43a0bbfb68 (patch)
treea8faed0add4d596731843d40a92cfe429909b55e /src
parent59b0ba16aa981fcaa4618f95924ff7b869ea4454 (diff)
parentef9c151c86073f107ec6556b779cd7b8da3154eb (diff)
downloadDoxygen-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.
Diffstat (limited to 'src')
-rw-r--r--src/latexgen.cpp8
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;
}