Skip to content
Permalink
Browse files

Dont search for locale folders if gettext is disabled (#6133)

If gettext is disabled, it is defined as 0.
  • Loading branch information...
adrido authored and nerzhul committed Jul 14, 2017
1 parent 0b3a8de commit 32b68de65a303f0e063cb0d61a79ff7b4837ad7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)) {

0 comments on commit 32b68de

Please sign in to comment.
You can’t perform that action at this time.