diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-16 00:34:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-16 00:34:21 +0300 |
commit | 6bbe09af6faa77df40112e7cf876877ef11ce74b (patch) | |
tree | de5ed5f00b34daa9c6cc268fdaacead00b7e7e85 /src/client.cpp | |
parent | c3434fa53d1c83bc65b640951364f842fe6c79f4 (diff) | |
parent | 2ed0917b4ee942ff55639500f846ae9cb4f48b90 (diff) | |
download | manaverse-6bbe09af6faa77df40112e7cf876877ef11ce74b.tar.gz manaverse-6bbe09af6faa77df40112e7cf876877ef11ce74b.tar.bz2 manaverse-6bbe09af6faa77df40112e7cf876877ef11ce74b.tar.xz manaverse-6bbe09af6faa77df40112e7cf876877ef11ce74b.zip |
Merge branch 'androidtemp'
Conflicts:
configure.ac
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 12a50b45d..cfc19446b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1673,6 +1673,8 @@ void Client::initLocalDataDir() if (mLocalDataDir.empty()) mLocalDataDir = std::string(PHYSFS_getUserDir()); mLocalDataDir += "/Mana"; +#elif defined __ANDROID__ + mLocalDataDir = "local"; #else mLocalDataDir = std::string(PHYSFS_getUserDir()) + ".local/share/mana"; @@ -1717,8 +1719,7 @@ void Client::initConfigDir() else mConfigDir += "/mana/" + branding.getValue("appShort", "mana"); #elif defined __ANDROID__ - mConfigDir = "/mnt/sdcard/Android/data/org.evolonline.manaplus" - "/config/" + branding.getValue("appShort", "mana"); + mConfigDir = "config"; #else mConfigDir = std::string(PHYSFS_getUserDir()) + "/.config/mana/" + branding.getValue("appShort", "mana"); |