mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
042d0118ae
commit
f397989137
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user