summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-29 01:32:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-29 01:32:53 +0300
commit6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c (patch)
treeaf9a98a5f55bd9e180d4ed1b09eb261720745e95 /src/client.cpp
parent6427fbb2b35b113965c4d3c9470cced433a70c6d (diff)
downloadmanaplus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.gz
manaplus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.bz2
manaplus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.tar.xz
manaplus-6aed2d7d4c6a3cb181f053ba52488cb1a0ea232c.zip
Fix screenshot directory saving/loading.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index afc2dd7e6..ea800468f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2303,7 +2303,7 @@ void Client::initScreenshotDir()
else if (mScreenshotDir.empty())
{
mScreenshotDir = decodeBase64String(
- config.getStringValue("screenshotDirectory2"));
+ config.getStringValue("screenshotDirectory3"));
if (mScreenshotDir.empty())
{
#ifdef __ANDROID__
@@ -2330,7 +2330,7 @@ void Client::initScreenshotDir()
configScreenshotSuffix);
}
}
- config.setValue("screenshotDirectory2",
+ config.setValue("screenshotDirectory3",
encodeBase64String(mScreenshotDir));
}
}