summaryrefslogtreecommitdiff
path: root/src/gui/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/gui/shopwindow.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadmv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r--src/gui/shopwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp
index e14dd9be9..feafdb51d 100644
--- a/src/gui/shopwindow.cpp
+++ b/src/gui/shopwindow.cpp
@@ -476,7 +476,7 @@ void ShopWindow::announce(ShopItems *const list, const int mode)
if (!list)
return;
- std::string data = "\302\202";
+ std::string data("\302\202");
if (mode == BUY)
data.append("Buy ");
else
@@ -537,7 +537,7 @@ void ShopWindow::giveList(const std::string &nick, const int mode)
if (!checkFloodCounter(mLastRequestTimeList))
return;
- std::string data = "\302\202";
+ std::string data("\302\202");
ShopItems *list;
if (mode == BUY)