From a49384759928ae90eb1e051d83d7223ecd3453a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 29 Oct 2011 20:03:09 +0000 Subject: [PATCH] tex2lyx/preamble.cpp: fix bug #7863 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40065 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/preamble.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index e926e0519a..42a0a1025e 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -559,10 +559,8 @@ void handle_package(Parser &p, string const & name, string const & opts, if (!opts.empty()) { // check if more than one option was used - used later for inputenc // in case inputenc is parsed before babel, set the encoding to auto - if (options.begin() != options.end() - 1) { + if (options.begin() != options.end() - 1) one_language = false; - h_inputencoding = "auto"; - } // babel takes the last language of the option of its \usepackage // call as document language. If there is no such language option, the // last language in the documentclass options is used. -- 2.39.2