From 32b68de65a303f0e063cb0d61a79ff7b4837ad7f Mon Sep 17 00:00:00 2001 From: adrido Date: Fri, 14 Jul 2017 17:31:18 +0200 Subject: Dont search for locale folders if gettext is disabled (#6133) If gettext is disabled, it is defined as 0. --- src/porting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/porting.cpp') 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)) { -- cgit v1.2.3