aboutsummaryrefslogtreecommitdiff
path: root/math/xlife++/files/patch-src_utils_Environment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/xlife++/files/patch-src_utils_Environment.cpp')
-rw-r--r--math/xlife++/files/patch-src_utils_Environment.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/xlife++/files/patch-src_utils_Environment.cpp b/math/xlife++/files/patch-src_utils_Environment.cpp
new file mode 100644
index 000000000000..b6c8d150cf70
--- /dev/null
+++ b/math/xlife++/files/patch-src_utils_Environment.cpp
@@ -0,0 +1,11 @@
+--- src/utils/Environment.cpp.orig 2018-05-13 04:01:14 UTC
++++ src/utils/Environment.cpp
+@@ -121,7 +121,7 @@ void Environment::processor()
+ void Environment::setMsgFilePath()
+ {
+ #ifdef OS_IS_UNIX
+- thePathToMessageFiles_ = installPath() + "/etc/messages/" + languageString() + "/";
++ thePathToMessageFiles_ = installPath() + "/share/xlife++/messages/" + languageString() + "/";
+ #elif defined(OS_IS_WIN)
+ thePathToMessageFiles_ = installPath() + "\\etc\\messages\\" + languageString() + "\\";
+ #endif