From 0e49fd22ad53d71164bad2a3a4594e7a36937c87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 31 Oct 2011 01:51:46 +0000 Subject: [PATCH] tex2lyx/Preamble.cpp: fix some comments git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40108 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/Preamble.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 47b44b3bed..f084ad33a3 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -599,7 +599,6 @@ void Preamble::handle_package(Parser &p, string const & name, // we need to keep it in the preamble to prevent cases like bug #7861. 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) one_language = false; // babel takes the last language of the option of its \usepackage @@ -634,8 +633,8 @@ void Preamble::handle_package(Parser &p, string const & name, // inputenc option because otherwise h_inputencoding must be // set to "auto" (the default encoding of the document language) // Therefore check for the "," character. - // It is also only set when there is not more then one babel - // language option but this is handled in the routine for babel. + // It is also only set when there is not more than one babel + // language option. if (opts.find(",") == string::npos && one_language == true) h_inputencoding = opts; if (!options.empty()) -- 2.39.2