summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index d434408b..92ad1dbd 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -188,7 +188,8 @@ void SellDialog::action(const gcn::ActionEvent &event)
mPlayerMoney +=
mAmountItems * mShopItems->at(selectedItem)->getPrice();
mMaxItems -= mAmountItems;
- while (mAmountItems > 0) {
+ while (mAmountItems > 0)
+ {
// This order is important, item->getCurrentInvIndex() would return
// the inventory index of the next Duplicate otherwise.
itemIndex = item->getCurrentInvIndex();