projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3a8de
)
Dont search for locale folders if gettext is disabled (#6133)
author
adrido
<robots_only_adrido@gmx.com>
Fri, 14 Jul 2017 15:31:18 +0000
(17:31 +0200)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Fri, 14 Jul 2017 15:31:18 +0000
(17:31 +0200)
If gettext is disabled, it is defined as 0.
src/porting.cpp
patch
|
blob
|
history
diff --git
a/src/porting.cpp
b/src/porting.cpp
index 51b36459be808752ad5683422b8e5780af688336..b453b7f76d0dbf02338a7d2c926814046bbd758f 100644
(file)
--- 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;
-#if
def
USE_GETTEXT
+#if USE_GETTEXT
bool found_localedir = false;
# ifdef STATIC_LOCALEDIR
if (STATIC_LOCALEDIR[0] && fs::PathExists(STATIC_LOCALEDIR)) {