summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index fe3723ef3..b7442a1bc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -350,7 +350,8 @@ void Client::gameInit()
#else
#ifdef __APPLE__
//TODO: Use physfs instead of absolute path.
- bindTextDomain("manaplus", "ManaPlus.app/Contents/Resources/locale/");
+ bindTextDomain("manaplus", (std::string(PHYSFS_getBaseDir())
+ + "ManaPlus.app/Contents/Resources/locale/").c_str());
#else
bindTextDomain("manaplus", LOCALEDIR);
#endif