ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / games / cataclysm-dda / locale-path-stable.patch
blobdb8592646f0dc01ae18898f3b8de3195318a7c23
1 diff --git a/src/translations.cpp b/src/translations.cpp
2 index fa0ee479b2..0e470098dc 100644
3 --- a/src/translations.cpp
4 +++ b/src/translations.cpp
5 @@ -141,15 +141,11 @@ void select_language()
6 std::string locale_dir()
8 std::string loc_dir;
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 -#else
16 - loc_dir = PATH_INFO::langdir();
17 -#endif
18 return loc_dir;