diff options
author | David Athay <ko2fan@gmail.com> | 2010-07-17 20:59:39 -0500 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2010-07-17 20:59:39 -0500 |
commit | 1fdfce5957e358004d5acb267fb1eb09579fe0ed (patch) | |
tree | fcd8347c91e88d9c99426969a007582c8b41dc06 /src/client.cpp | |
parent | 2d584d7e8aaeacbcb1036bae5c8deca9b810fe60 (diff) | |
download | mana-1fdfce5957e358004d5acb267fb1eb09579fe0ed.tar.gz mana-1fdfce5957e358004d5acb267fb1eb09579fe0ed.tar.bz2 mana-1fdfce5957e358004d5acb267fb1eb09579fe0ed.tar.xz mana-1fdfce5957e358004d5acb267fb1eb09579fe0ed.zip |
Fixed config directory, updated project file.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index ac10112e..b63550e6 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1035,13 +1035,13 @@ void Client::initHomeDir() if (mConfigDir.empty()){ #ifdef __APPLE__ - mConfigDir = mLocalDataDir; + mConfigDir = mLocalDataDir + "/" + branding.getValue("appShort", "mana"); #elif defined WIN32 mConfigDir = getSpecialFolderLocation(CSIDL_APPDATA); if (mConfigDir.empty()) mConfigDir = mLocalDataDir; else - mConfigDir += "/mana/" + branding.getValue("appName", "Mana"); + mConfigDir += "/mana/" + branding.getValue("appShort", "Mana"); #else mConfigDir = std::string(PHYSFS_getUserDir()) + "/.config/mana/" + branding.getValue("appShort", "mana"); |