X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLyX.cpp;h=c2b2b62845a7aa75f16a24a6cb16a3810afa5283;hb=2515a3bded01e27dcc3b19502e649f01fff5ace0;hp=9a13452855c80b4134efb5941cb74bbb0f12d38a;hpb=34193829192e050aeb069d45849eb5b2018b395c;p=lyx.git diff --git a/src/LyX.cpp b/src/LyX.cpp index 9a13452855..c2b2b62845 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -413,6 +413,10 @@ int LyX::exec(int & argc, char * argv[]) } } + // Reinit the messages machinery in case package() knows + // something interesting about the locale directory. + Messages::init(); + if (!use_gui) { // FIXME: create a ConsoleApplication int exit_status = init(argc, argv);