mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
* src/support/package.C.in (relative_locale_dir): fix for Windows and OSX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13761 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5352cfa1b5
commit
57d0c03bf5
@ -705,7 +705,11 @@ bool check_env_var_dir(string const & dir,
|
||||
// The locale directory relative to the LyX system directory.
|
||||
string const relative_locale_dir()
|
||||
{
|
||||
#if defined (USE_WINDOWS_PACKAGING) || defined (USE_MACOSX_PACKAGING)
|
||||
return "locale/";
|
||||
#else
|
||||
return "../locale/";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user