From: Juergen Spitzmueller Date: Tue, 9 Jun 2015 06:18:19 +0000 (+0200) Subject: Properly fix bug #9598 X-Git-Tag: 2.2.0alpha1~547 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4feec2ef4bc2315fcd2fdaf54dde4c920bb3cfde;p=features.git Properly fix bug #9598 Do not output \\par at the end of environments with size change if the environment cosinsts of only one par. --- diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 6df77f1b66..d8b1d0b7bd 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -865,7 +865,7 @@ void TeXOnePar(Buffer const & buf, if (style.resfont.size() != font.fontInfo().size() && (nextpar || maintext - || (text.inset().getLayout().isMultiPar() + || (text.inset().paragraphs().size() > 1 && text.inset().lyxCode() != CELL_CODE)) && !is_command) { os << '{';