tex2lyx/preamble.cpp: revert r39962 (the string initialization was already reverted)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40019 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-10-26 19:53:29 +00:00
parent 042d0118ae
commit f397989137

View File

@ -571,9 +571,11 @@ void handle_package(Parser &p, string const & name, string const & opts,
else if (name == "fontenc") {
h_fontencoding = getStringFromVector(options, ",");
// as of version LyX 2.0 "T1" is equal to the setting "global"
if (h_fontencoding == "T1")
/* We could do the following for better round trip support,
* but this makes the document less portable, so I skip it:
if (h_fontencoding == lyxrc.fontenc)
h_fontencoding = "global";
*/
options.clear();
}