This should have gone in r30766.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30768 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-07-25 01:09:31 +00:00
parent 1344b11e45
commit 63f72c39be

View File

@ -359,7 +359,8 @@ ParagraphList::const_iterator TeXOnePar(Buffer const & buf,
bool topped = outpit == paragraphs.begin() bool topped = outpit == paragraphs.begin()
&& (outpit->hasSameLayout(*priorpit) && (outpit->hasSameLayout(*priorpit)
|| outpit->getDepth() > pit->getDepth() || outpit->getDepth() > pit->getDepth()
|| outpit->getAlign() != outpit->layout().align); || outpit->getAlign() != outpit->layout().align
|| outpit->layout().isEnvironment());
Language const * const outenv_language = topped ? Language const * const outenv_language = topped ?
outer_language outer_language
: outpit->getParLanguage(bparams); : outpit->getParLanguage(bparams);