diff options
author | adrido <robots_only_adrido@gmx.com> | 2017-07-14 17:31:18 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-07-14 17:31:18 +0200 |
commit | 32b68de65a303f0e063cb0d61a79ff7b4837ad7f (patch) | |
tree | 0e370b883cc2aa03129c83b6a9c24adf4ba4813f /src | |
parent | 0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a (diff) | |
download | minetest-32b68de65a303f0e063cb0d61a79ff7b4837ad7f.tar.gz minetest-32b68de65a303f0e063cb0d61a79ff7b4837ad7f.tar.bz2 minetest-32b68de65a303f0e063cb0d61a79ff7b4837ad7f.zip |
Dont search for locale folders if gettext is disabled (#6133)
If gettext is disabled, it is defined as 0.
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index 51b36459b..b453b7f76 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -556,7 +556,7 @@ void initializePaths() infostream << "Detected user path: " << path_user << std::endl; infostream << "Detected cache path: " << path_cache << std::endl; -#ifdef USE_GETTEXT +#if USE_GETTEXT bool found_localedir = false; # ifdef STATIC_LOCALEDIR if (STATIC_LOCALEDIR[0] && fs::PathExists(STATIC_LOCALEDIR)) { |