summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp2
-rw-r--r--src/defaults.cpp1
-rw-r--r--src/gui/widgets/desktop.cpp2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3803b08b5..ceff605ff 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2261,7 +2261,7 @@ void Client::initScreenshotDir()
if (config.getBoolValue("useScreenshotDirectorySuffix"))
{
const std::string configScreenshotSuffix =
- branding.getValue("appShort", "mana");
+ branding.getValue("screenshots", "ManaPlus");
if (!configScreenshotSuffix.empty())
{
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 11ebec96b..9fb64e7a7 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -380,6 +380,7 @@ DefaultsData* getBrandingDefaults()
"http://manaplus.org/serverlist.xml");
AddDEF("onlineServerFile", "serverlistplus.xml");
AddDEF("appShort", "mana");
+ AddDEF("screenshots", "ManaPlus");
AddDEF("defaultUpdateHost", "");
AddDEF("helpPath", "");
AddDEF("theme", "");
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 56450cd1f..7f3532381 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -45,7 +45,7 @@ Desktop::Desktop(const Widget2 *const widget) :
Wallpaper::loadWallpapers();
- std::string appName = branding.getValue("appName", std::string(""));
+ std::string appName = branding.getValue("appName", std::string());
if (appName.empty())
{