From a295ce54bbd7fcc0d4befd0bfaa2312aea9b602c Mon Sep 17 00:00:00 2001 From: Socapex Date: Sat, 29 Dec 2012 00:49:30 -0500 Subject: Use physfs for locale folder on OS X. --- src/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2