mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #7557 (TeX engine cannot be switched on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
249639fe9c
commit
6d7bfd663b
@ -1612,8 +1612,9 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
|
||||
if (tag != RC_LAST)
|
||||
break;
|
||||
case RC_TEX_EXPECTS_WINDOWS_PATHS:
|
||||
if (ignore_system_lyxrc ||
|
||||
windows_style_tex_paths != system_lyxrc.windows_style_tex_paths) {
|
||||
// Don't write this setting to the preferences file,
|
||||
// but allow temporary changes (bug 7557).
|
||||
if (ignore_system_lyxrc) {
|
||||
os << "\\tex_expects_windows_paths "
|
||||
<< convert<string>(windows_style_tex_paths) << '\n';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user