aboutsummaryrefslogtreecommitdiff
path: root/math/xlife++/files/patch-src_utils_Environment.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-07-05 17:14:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-07-05 17:14:32 +0000
commit0df7f81ad0690a0c612d503c3d6c5e3b21227e8d (patch)
tree1af0de0982457f8f852bb1018ee443d58c361d19 /math/xlife++/files/patch-src_utils_Environment.cpp
parentb13d6a6c86709aa681c618f3e8b38218b1591abf (diff)
Diffstat (limited to 'math/xlife++/files/patch-src_utils_Environment.cpp')
-rw-r--r--math/xlife++/files/patch-src_utils_Environment.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/math/xlife++/files/patch-src_utils_Environment.cpp b/math/xlife++/files/patch-src_utils_Environment.cpp
index b6c8d150cf70..766bdf83b972 100644
--- a/math/xlife++/files/patch-src_utils_Environment.cpp
+++ b/math/xlife++/files/patch-src_utils_Environment.cpp
@@ -1,11 +1,11 @@
---- src/utils/Environment.cpp.orig 2018-05-13 04:01:14 UTC
+--- src/utils/Environment.cpp.orig 2022-04-22 18:54:13 UTC
+++ src/utils/Environment.cpp
-@@ -121,7 +121,7 @@ void Environment::processor()
- void Environment::setMsgFilePath()
- {
+@@ -122,7 +122,7 @@ void Environment::setMsgFilePath()
+ string_t lang="en";
+ if (theLanguage_ != 0) lang=languageString();
#ifdef OS_IS_UNIX
-- thePathToMessageFiles_ = installPath() + "/etc/messages/" + languageString() + "/";
-+ thePathToMessageFiles_ = installPath() + "/share/xlife++/messages/" + languageString() + "/";
+- thePathToMessageFiles_ = installPath() + "/etc/messages/" + lang + "/";
++ thePathToMessageFiles_ = installPath() + "/share/xlife++/messages/" + lang + "/";
#elif defined(OS_IS_WIN)
- thePathToMessageFiles_ = installPath() + "\\etc\\messages\\" + languageString() + "\\";
+ thePathToMessageFiles_ = installPath() + "\\etc\\messages\\" + lang + "\\";
#endif