summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-27 18:58:27 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-27 19:02:37 -0700
commit3c1b12b86d02fb9ec0e9cf86b3afe60893119eba (patch)
treefb09646e412a69d6ef28e338f0d18a9992d10b69 /src/game.cpp
parent1eea559d70d8ca49341bdd1648969468970e0db4 (diff)
downloadmana-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.gz
mana-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.bz2
mana-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.xz
mana-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.zip
Use appShort in screenshot name
Reviewed-by: http://pastebin.ca/1815165
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 5b0295da..00c143d4 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -304,7 +304,8 @@ static bool saveScreenshot()
filenameSuffix.str("");
filename.str("");
filename << Client::getScreenshotDirectory() << "/";
- filenameSuffix << "Mana_Screenshot_" << screenshotCount << ".png";
+ filenameSuffix << branding.getValue("appShort", "Mana")
+ << "_Screenshot_" << screenshotCount << ".png";
filename << filenameSuffix.str();
testExists.open(filename.str().c_str(), std::ios::in);
found = !testExists.is_open();