For consistency, use lyxrc_new (which is a reference to lyxrc).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38737 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-05-13 09:40:38 +00:00
parent 2095c85fa2
commit 1139d6cb87

View File

@ -3060,7 +3060,7 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
package().document_dir() = FileName(lyxrc.document_path); package().document_dir() = FileName(lyxrc.document_path);
} }
if (lyxrc_orig.path_prefix != lyxrc_new.path_prefix) { if (lyxrc_orig.path_prefix != lyxrc_new.path_prefix) {
prependEnvPath("PATH", lyxrc.path_prefix); prependEnvPath("PATH", lyxrc_new.path_prefix);
} }
if (lyxrc_orig.windows_style_tex_paths != lyxrc_new.windows_style_tex_paths) { if (lyxrc_orig.windows_style_tex_paths != lyxrc_new.windows_style_tex_paths) {
os::windows_style_tex_paths(lyxrc_new.windows_style_tex_paths); os::windows_style_tex_paths(lyxrc_new.windows_style_tex_paths);