]> git.lyx.org Git - features.git/commitdiff
* src/support/package.C.in (relative_locale_dir): fix for Windows and OSX.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 27 Apr 2006 12:57:30 +0000 (12:57 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 27 Apr 2006 12:57:30 +0000 (12:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13761 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/package.C.in

index b8cb35504268f8faf1b505673d5f2b93b1b1286d..7eba94dfabca668012f2291f9bd25a6b5ca3beff 100644 (file)
@@ -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
 }