summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/game.cpp
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadplus-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
plus-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
plus-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
plus-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 758e26064..016e4dded 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -532,8 +532,8 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot)
if (success)
{
std::stringstream chatlogentry;
- // TODO: Make it one complete gettext string below
- chatlogentry << _("Screenshot saved as ") << filenameSuffix.str();
+ chatlogentry << strprintf(_("Screenshot saved as %s"),
+ filenameSuffix.str().c_str());
if (localChatTab)
localChatTab->chatLog(chatlogentry.str(), BY_SERVER);
}