summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index c8a51e0e..1d06edd1 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -326,8 +326,8 @@ void ChatWindow::doPresent()
}
}
- std::string cpc = strprintf(_("%d players are present."), playercount);
- std::string log = _("Present: ") + response + std::string("; ") + cpc;
+ std::string log = strprintf(_("Present: %s; %d players are present."),
+ response.c_str(), playercount);
if (mRecorder->isRecording())
{