X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyX.cpp;h=b7848311b85a6a10450572285cab072a7bcf0f94;hb=53f8d6d6d373460bdcfebd20d6f826e3915c84ff;hp=b576ac05a5e2925b4a5a7c09c09ca92c7cc005f2;hpb=ce26efcbd4e0b2094e61e19e9920e3cfae11f579;p=lyx.git diff --git a/src/LyX.cpp b/src/LyX.cpp index b576ac05a5..b7848311b8 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -33,6 +33,7 @@ #include "FuncStatus.h" #include "HunspellChecker.h" #include "KeyMap.h" +#include "Language.h" #include "LaTeXFonts.h" #include "LayoutFile.h" #include "Lexer.h" @@ -844,6 +845,7 @@ bool LyX::init() lyxrc.print(); os::windows_style_tex_paths(lyxrc.windows_style_tex_paths); + // Prepend path prefix a second time to take the user preferences into a account if (!lyxrc.path_prefix.empty()) prependEnvPath("PATH", replaceEnvironmentPath(lyxrc.path_prefix));