]> git.lyx.org Git - lyx.git/commitdiff
For consistency, use lyxrc_new (which is a reference to lyxrc).
authorEnrico Forestieri <forenr@lyx.org>
Fri, 13 May 2011 09:40:38 +0000 (09:40 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 13 May 2011 09:40:38 +0000 (09:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38737 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXRC.cpp

index 9f360fedcc076d874ab95b2d7953994a262793f0..612168111ef6250063a73f7274d6ae0d4d81adf4 100644 (file)
@@ -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);