summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-25 03:35:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-25 03:35:52 +0300
commit8478d540748edccf36dc9bda5f0c3de0aa7bf763 (patch)
tree941a08937450982abb8781e8dd4bd4bd209cf88c /src/localplayer.cpp
parent6ce49efadfadd8eacb048df274979736bb04daf0 (diff)
downloadmanaplus-8478d540748edccf36dc9bda5f0c3de0aa7bf763.tar.gz
manaplus-8478d540748edccf36dc9bda5f0c3de0aa7bf763.tar.bz2
manaplus-8478d540748edccf36dc9bda5f0c3de0aa7bf763.tar.xz
manaplus-8478d540748edccf36dc9bda5f0c3de0aa7bf763.zip
Improve string usage in other files.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index a9213f75e..fd7f863c8 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1718,8 +1718,8 @@ void LocalPlayer::processEvent(Channels channel,
{
mMessages.pop_back();
// TRANSLATORS: this is job experience
- pair.first += strprintf (", %d %s",
- change, _("job"));
+ pair.first.append(strprintf (", %d %s",
+ change, _("job")));
mMessages.push_back(pair);
}
else