Author: uwestoehr
Date: Mon Oct 31 02:51:46 2011
New Revision: 40108
URL: http://www.lyx.org/trac/changeset/40108
Log:
tex2lyx/Preamble.cpp: fix some comments
Modified:
lyx-devel/trunk/src/tex2lyx/Preamble.cpp
Modified: lyx-devel/trunk/src/tex2lyx/Preamble.cpp
==============================================================================
--- lyx-devel/trunk/src/tex2lyx/Preamble.cpp Sun Oct 30 23:40:03 2011
(r40107)
+++ lyx-devel/trunk/src/tex2lyx/Preamble.cpp Mon Oct 31 02:51:46 2011
(r40108)
@@ -599,7 +599,6 @@
// 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 @@
// 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())