diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/trade.cpp | 2 | ||||
-rw-r--r-- | src/gui/trade.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 78204120..cf3ad1a5 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -131,7 +131,7 @@ TradeWindow::~TradeWindow() { } -void TradeWindow::addMoney(int amount) +void TradeWindow::setMoney(int amount) { mMoneyLabel->setCaption("You get: " + toString(amount) + "z"); mMoneyLabel->adjustSize(); diff --git a/src/gui/trade.h b/src/gui/trade.h index bffda13f..478d2876 100644 --- a/src/gui/trade.h +++ b/src/gui/trade.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id $ + * $Id$ */ #ifndef _TMW_TRADE_H @@ -57,9 +57,9 @@ class TradeWindow : public Window, gcn::ActionListener, SelectionListener ~TradeWindow(); /** - * Add money to the trade window. + * Displays expected money in the trade window. */ - void addMoney(int quantity); + void setMoney(int quantity); /** * Add an item to the trade window. |