summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shopitems.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/widgets/shopitems.cpp
parentc3669ceb38114c68a6de11de46b0d3fd3713db59 (diff)
downloadmv-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz
mv-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2
mv-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz
mv-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/shopitems.cpp')
-rw-r--r--src/gui/widgets/shopitems.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/shopitems.cpp b/src/gui/widgets/shopitems.cpp
index c0b93508e..15f4292a5 100644
--- a/src/gui/widgets/shopitems.cpp
+++ b/src/gui/widgets/shopitems.cpp
@@ -54,7 +54,8 @@ void ShopItems::addItem(int id, unsigned char color, int amount, int price)
mShopItems.push_back(new ShopItem(-1, id, color, amount, price));
}
-void ShopItems::addItemNoDup(int id, unsigned char color, int amount, int price)
+void ShopItems::addItemNoDup(int id, unsigned char color,
+ int amount, int price)
{
ShopItem *item = findItem(id, color);
if (!item)