summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-22 20:27:48 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-22 20:27:48 +0100
commitfa8a4bf49100c0a1d5b96e00803f43bbbb861100 (patch)
tree940186a707e4257407ed39bee858680a0478372d /src/gui/item_amount.cpp
parenta7bddc674892b81de9471a7b8ee8da19ed8e1e90 (diff)
downloadmana-fa8a4bf49100c0a1d5b96e00803f43bbbb861100.tar.gz
mana-fa8a4bf49100c0a1d5b96e00803f43bbbb861100.tar.bz2
mana-fa8a4bf49100c0a1d5b96e00803f43bbbb861100.tar.xz
mana-fa8a4bf49100c0a1d5b96e00803f43bbbb861100.zip
Fixed some compiler warnings
Superfluous semicolons, initialization order and signed/unsigned mismatches.
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r--src/gui/item_amount.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp
index b440dfc0..9398dc47 100644
--- a/src/gui/item_amount.cpp
+++ b/src/gui/item_amount.cpp
@@ -35,7 +35,9 @@
ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item):
Window("", true, parent),
- mItem(item), mUsage(usage), mMax(mItem->getQuantity())
+ mItem(item),
+ mMax(mItem->getQuantity()),
+ mUsage(usage)
{
// Integer field
mItemAmountTextField = new IntTextField(1);