From c22298c97b357a0a2a1923b990b30b8c312b1d9f Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 6 Jan 2010 17:36:22 +0000 Subject: [PATCH] Fix bug #6387: Incorrect selectlanguage command at end of document. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32792 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_latex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index a87416d7b7..440bb03c66 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -677,7 +677,7 @@ ParagraphList::const_iterator TeXOnePar(Buffer const & buf, (nextpit == paragraphs.end() && runparams.master_language) ? runparams.master_language - : prev_language; + : outer_language; if (!current_language->babel().empty()) { os << from_ascii(subst( lyxrc.language_command_begin,