* output_latex.cpp: fix language nesting (with polyglossia).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36775 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-12-08 18:25:21 +00:00
parent 15685fe5cb
commit 1e8bd43a70

View File

@ -168,7 +168,7 @@ TeXEnvironment(Buffer const & buf,
texrow.newline();
}
if ((lyxrc.language_command_end.empty() ||
if ((lang_end_command.empty() ||
par_lang != doc_lang) &&
!par_lang.empty()) {
os << from_ascii(subst(