summaryrefslogtreecommitdiff
path: root/src/gui/shop.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
commitcd20fb3432498b8871401bdd65a143197e2a6538 (patch)
tree1edd3e20e3501de5315fa5bfc46b8673ad40d5dd /src/gui/shop.cpp
parent4ba8c80791c15c144d66e6a9b23e878d3313fa26 (diff)
downloadmana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.gz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.bz2
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.xz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.zip
A host of code style fixes
Mostly putting & and * in the right place and making some getters const.
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r--src/gui/shop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp
index 3cdc304c..300c91b8 100644
--- a/src/gui/shop.cpp
+++ b/src/gui/shop.cpp
@@ -51,7 +51,7 @@ void ShopItems::addItem(int id, int amount, int price)
#ifdef EATHENA_SUPPORT
void ShopItems::addItem(int inventoryIndex, int id, int quantity, int price)
{
- ShopItem* item = 0;
+ ShopItem *item = 0;
if (mMergeDuplicates)
{
item = findItem(id);
@@ -69,7 +69,7 @@ void ShopItems::addItem(int inventoryIndex, int id, int quantity, int price)
}
#endif
-ShopItem* ShopItems::at(int i) const
+ShopItem *ShopItems::at(int i) const
{
return mShopItems.at(i);
}
@@ -85,7 +85,7 @@ void ShopItems::clear()
mShopItems.clear();
}
-ShopItem* ShopItems::findItem(int id)
+ShopItem *ShopItems::findItem(int id)
{
ShopItem *item;