summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index a8a1ea7e..8b9e8d8e 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -230,7 +230,7 @@ void BuyDialog::action(const gcn::ActionEvent &event)
int price = mAmountItems * mShopItems->at(selectedItem).price;
mMoneyLabel->setCaption("Price: " + toString(price) + " GP / "
- + toString(mMoney) + " GP" );
+ + toString(mMoney - price) + " GP" );
mMoneyLabel->adjustSize();
}
}