diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-27 18:58:27 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-27 19:02:37 -0700 |
commit | 3c1b12b86d02fb9ec0e9cf86b3afe60893119eba (patch) | |
tree | fb09646e412a69d6ef28e338f0d18a9992d10b69 /src | |
parent | 1eea559d70d8ca49341bdd1648969468970e0db4 (diff) | |
download | mana-client-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.gz mana-client-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.bz2 mana-client-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.tar.xz mana-client-3c1b12b86d02fb9ec0e9cf86b3afe60893119eba.zip |
Use appShort in screenshot name
Reviewed-by: http://pastebin.ca/1815165
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 3 |
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(); |