summaryrefslogtreecommitdiff
path: root/src/gui/shopwindow.cpp
diff options
context:
space:
mode:
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)