* 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:
Jean-Marc Lasgouttes 2006-04-27 12:57:30 +00:00
parent 5352cfa1b5
commit 57d0c03bf5

View File

@ -705,7 +705,11 @@ bool check_env_var_dir(string const & dir,
// The locale directory relative to the LyX system directory. // The locale directory relative to the LyX system directory.
string const relative_locale_dir() string const relative_locale_dir()
{ {
#if defined (USE_WINDOWS_PACKAGING) || defined (USE_MACOSX_PACKAGING)
return "locale/";
#else
return "../locale/"; return "../locale/";
#endif
} }