The code was not doing what said in the description.
This commit is contained in:
Enrico Forestieri 2019-03-31 15:14:28 +02:00
parent b1c36045ee
commit 45e0ce2372

View File

@ -1393,7 +1393,7 @@ void TeXOnePar(Buffer const & buf,
&& nextpar->getAlign() == par.getAlign())
|| (!next_layout.isEnvironment()
&& nextpar->getDepth() > par.getDepth()
&& nextpar->getAlign() == par.getAlign())
&& nextpar->getAlign() == next_layout.align)
|| (!style.isEnvironment()
&& next_layout.latextype == LATEX_ENVIRONMENT
&& nextpar->getDepth() < par.getDepth())