From: Enrico Forestieri Date: Fri, 13 May 2011 09:40:38 +0000 (+0000) Subject: For consistency, use lyxrc_new (which is a reference to lyxrc). X-Git-Tag: 2.1.0beta1~3259 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1139d6cb877acc932d5e4b3111ffdd5d92146f7b;hp=2095c85fa2d770e345ab39d269244f2764e4395f;p=lyx.git 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 --- diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 9f360fedcc..612168111e 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -3060,7 +3060,7 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new) package().document_dir() = FileName(lyxrc.document_path); } 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) { os::windows_style_tex_paths(lyxrc_new.windows_style_tex_paths);