]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
typo
[lyx.git] / src / output_latex.cpp
index 4124d2dd1c92fde9f5cf08cb62ca29808ed1277f..4fcc49b303a60922e0a13fd6f99b90430308fdb7 100644 (file)
@@ -1439,6 +1439,7 @@ void TeXOnePar(Buffer const & buf,
                                && nextpar->getDepth() > par.getDepth()
                                && nextpar->getAlign(bparams) == next_layout.align)
                            || (!style.isEnvironment()
+                               && !tclass.isDefaultLayout(style)
                                && next_layout.latextype == LATEX_ENVIRONMENT
                                && nextpar->getDepth() < par.getDepth())
                            || (style.isCommand()