]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/porting.cpp
Dont search for locale folders if gettext is disabled (#6133)
[dragonfireclient.git] / src / porting.cpp
index 51b36459be808752ad5683422b8e5780af688336..b453b7f76d0dbf02338a7d2c926814046bbd758f 100644 (file)
@@ -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)) {