anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / games / cataclysm-dda / locale-path-git.patch
blob8f18b0ffb71ed7a2baf68d563b5f73024ca9ed55
1 diff --git a/src/translations.cpp b/src/translations.cpp
2 --- a/src/translations.cpp
3 +++ b/src/translations.cpp
4 @@ -52,13 +52,11 @@ std::string locale_dir()
5 #define CATA_IS_ON_BSD
6 #endif
8 -#if !defined(__ANDROID__) && ((defined(__linux__) || defined(CATA_IS_ON_BSD) || (defined(MACOSX) && !defined(TILES))))
9 if( !PATH_INFO::base_path().empty() ) {
10 loc_dir = PATH_INFO::base_path() + "share/locale";
11 } else {
12 loc_dir = PATH_INFO::langdir();
14 -#endif
15 #endif // LOCALIZE
16 return loc_dir;