diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/shopwindow.cpp | 14 | ||||
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index bc6ca117d..ea037b93b 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -250,7 +250,7 @@ void ShopWindow::action(const gcn::ActionEvent &event) if (!inv) return; - //+++ need support for colors + // +++ need support for colors Item *const item = inv->findItem(mSelectedItem, 0); if (item) { @@ -377,7 +377,7 @@ void ShopWindow::loadList() if (tokens.size() == 5 && tokens[0]) { - //+++ need impliment colors? + // +++ need impliment colors? if (tokens[1] && tokens[2] && mBuyShopItems) { mBuyShopItems->addItem( @@ -556,7 +556,7 @@ void ShopWindow::giveList(const std::string &nick, const int mode) if (mode == SELL) { - //+++ need support for colors + // +++ need support for colors const Item *const item2 = inv->findItem(item->getId(), 0); if (item2) { @@ -651,12 +651,12 @@ void ShopWindow::showList(const std::string &nick, std::string data) const const int id = decodeStr(data.substr(f, 2)); const int price = decodeStr(data.substr(f + 2, 4)); int amount = decodeStr(data.substr(f + 6, 3)); - //+++ need impliment colors? + // +++ need impliment colors? if (buyDialog && amount > 0) buyDialog->addItem(id, 1, amount, price); if (sellDialog) { - //+++ need support for colors + // +++ need support for colors const Item *const item = inv->findItem(id, 0); if (item) { @@ -723,12 +723,12 @@ void ShopWindow::processRequest(std::string nick, std::string data, amount = atoi(part3.c_str()); delete mTradeItem; - //+++ need impliment colors? + // +++ need impliment colors? mTradeItem = new ShopItem(-1, id, 1, amount, price); if (mode == BUY) { - //+++ need support for colors + // +++ need support for colors const Item *const item2 = inv->findItem(mTradeItem->getId(), 0); if (!item2 || item2->getQuantity() < amount || !findShopItem(mTradeItem, SELL)) diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 5a7eb3462..76a1aeaaf 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -114,7 +114,7 @@ void ItemLinkHandler::handleLink(const std::string &link, if (id > 0) { const ItemInfo &itemInfo = ItemDB::get(id); - //+++ need add color to links? + // +++ need add color to links? mItemPopup->setItem(itemInfo, 1, true); if (mItemPopup->isPopupVisible()) |