From 853757df15383c2e9cc33023dc04a256c458e671 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Apr 2013 22:18:26 +0300 Subject: fix some code style by cpplint. --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') 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); } -- cgit v1.2.3-60-g2f50