Skip to content

Commit

Permalink
Dont search for locale folders if gettext is disabled (#6133)
Browse files Browse the repository at this point in the history
If gettext is disabled, it is defined as 0.
  • Loading branch information
adrido authored and nerzhul committed Jul 14, 2017
1 parent 0b3a8de commit 32b68de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/porting.cpp
Expand Up @@ -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)) {
Expand Down

0 comments on commit 32b68de

Please sign in to comment.