ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / games / cataclysm-dda / locale-path-git.patch
blob03f103a548fddc464c91d80fc2d3d7ba698788dc
1 diff --git a/src/translations.cpp b/src/translations.cpp
2 index 76bdfd0..6dd6109 100644
3 --- a/src/translations.cpp
4 +++ b/src/translations.cpp
5 @@ -61,13 +61,11 @@ std::string locale_dir()
6 #define BSD
7 #endif
9 -#if !defined(__ANDROID__) && ((defined(__linux__) || defined(BSD) || (defined(MACOSX) && !defined(TILES))))
10 if( !PATH_INFO::base_path().empty() ) {
11 loc_dir = PATH_INFO::base_path() + "share/locale";
12 } else {
13 loc_dir = PATH_INFO::langdir();
15 -#endif
16 #endif // LOCALIZE
17 return loc_dir;