summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-02-20 18:18:44 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-02-20 21:57:26 +0100
commite95cf652072d6480454ffc2d5349d4ebbf597b45 (patch)
treea234511e70e6c92aa41ebe9528abeb49f68ae79d
parent271abe2f9bb94644e9e889d4d3164336e12594ee (diff)
downloadmana-e95cf652072d6480454ffc2d5349d4ebbf597b45.tar.gz
mana-e95cf652072d6480454ffc2d5349d4ebbf597b45.tar.bz2
mana-e95cf652072d6480454ffc2d5349d4ebbf597b45.tar.xz
mana-e95cf652072d6480454ffc2d5349d4ebbf597b45.zip
Renamed default branding package from mana to manasource.
Resolves: Mana-mantis #236. Reviewed-by: Mpa4Hu.
-rw-r--r--src/client.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b57c3ae8..12564834 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1090,10 +1090,10 @@ void Client::initHomeDir()
mLocalDataDir = getSpecialFolderLocation(CSIDL_LOCAL_APPDATA);
if (mLocalDataDir.empty())
mLocalDataDir = std::string(PHYSFS_getUserDir());
- mLocalDataDir += "/Mana";
+ mLocalDataDir += "/manasource";
#else
mLocalDataDir = std::string(PHYSFS_getUserDir()) +
- "/.local/share/mana";
+ "/.local/share/manasource";
#endif
}
@@ -1107,16 +1107,16 @@ void Client::initHomeDir()
if (mConfigDir.empty()){
#ifdef __APPLE__
- mConfigDir = mLocalDataDir + "/" + branding.getValue("appShort", "mana");
+ mConfigDir = mLocalDataDir + "/" + branding.getValue("appShort", "manasource");
#elif defined WIN32
mConfigDir = getSpecialFolderLocation(CSIDL_APPDATA);
if (mConfigDir.empty())
mConfigDir = mLocalDataDir;
else
- mConfigDir += "/mana/" + branding.getValue("appShort", "Mana");
+ mConfigDir += "/mana/" + branding.getValue("appShort", "manasource");
#else
mConfigDir = std::string(PHYSFS_getUserDir()) +
- "/.config/mana/" + branding.getValue("appShort", "mana");
+ "/.config/mana/" + branding.getValue("appShort", "manasource");
#endif
}