diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/gui/shopwindow.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | mv-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.cpp | 4 |
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) |