diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-22 21:06:13 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-22 21:06:13 +0000 |
commit | a9f0bca7aab054aae146a4044a4a904d0c54020b (patch) | |
tree | c48c05a687664610e2fcd6f1b5997b6cec120a13 /src/gui/item_amount.cpp | |
parent | ce644911919ec3a4f0c93e1f45a58344ebc1f71d (diff) | |
download | mana-a9f0bca7aab054aae146a4044a4a904d0c54020b.tar.gz mana-a9f0bca7aab054aae146a4044a4a904d0c54020b.tar.bz2 mana-a9f0bca7aab054aae146a4044a4a904d0c54020b.tar.xz mana-a9f0bca7aab054aae146a4044a4a904d0c54020b.zip |
Added missing includes and fixed a warning about implicit conversion.
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 51b67e72..e67992ea 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -134,7 +134,7 @@ void ItemAmountWindow::action(const std::string& eventId) } else if (eventId == "Slide") { - itemAmountTextBox->setInt(itemAmountSlide->getValue()*inventoryWindow->getItem()->getQuantity()); + itemAmountTextBox->setInt((int)(itemAmountSlide->getValue()*inventoryWindow->getItem()->getQuantity())); } } |