summaryrefslogtreecommitdiff
path: root/src/gui/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
commit47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch)
tree453309d61789d8b27879abcc98c013cc7affd576 /src/gui/shopwindow.cpp
parentc3669ceb38114c68a6de11de46b0d3fd3713db59 (diff)
downloadmanaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz
manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip
Fix code style.
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r--src/gui/shopwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp
index 43e05aa70..d458a5156 100644
--- a/src/gui/shopwindow.cpp
+++ b/src/gui/shopwindow.cpp
@@ -278,7 +278,8 @@ void ShopWindow::addBuyItem(Item *item, int amount, int price)
{
if (!mBuyShopItems || !item)
return;
- mBuyShopItems->addItemNoDup(item->getId(), item->getColor(), amount, price);
+ mBuyShopItems->addItemNoDup(item->getId(),
+ item->getColor(), amount, price);
updateButtonsAndLabels();
}
@@ -286,7 +287,8 @@ void ShopWindow::addSellItem(Item *item, int amount, int price)
{
if (!mBuyShopItems || !item)
return;
- mSellShopItems->addItemNoDup(item->getId(), item->getColor(), amount, price);
+ mSellShopItems->addItemNoDup(item->getId(),
+ item->getColor(), amount, price);
updateButtonsAndLabels();
}