aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoradrido <robots_only_adrido@gmx.com>2017-07-14 17:31:18 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-07-14 17:31:18 +0200
commit32b68de65a303f0e063cb0d61a79ff7b4837ad7f (patch)
tree0e370b883cc2aa03129c83b6a9c24adf4ba4813f /src
parent0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a (diff)
downloadminetest-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.cpp2
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)) {