tBug with withdrawing cash from the bank fixed - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a7eeb732e352a37be7062755c0a95b2e886ed70d
(DIR) parent cf928eed2223d242800a7c6d96ded44e9d532e2f
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Thu, 14 Feb 2002 13:38:23 +0000
Bug with withdrawing cash from the bank fixed
Diffstat:
M ChangeLog | 4 ++++
M src/gtk_client.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/ChangeLog b/ChangeLog
t@@ -1,3 +1,7 @@
+cvs
+ - Icon added for GTK+ client
+ - Bug with withdrawing cash from the bank fixed
+
1.5.3 04-02-2002
- Text-mode server is now non-interactive by default (server admin can
connect later with the -A option)
(DIR) diff --git a/src/gtk_client.c b/src/gtk_client.c
t@@ -2565,7 +2565,7 @@ static void TransferOK(GtkWidget *widget,GtkWidget *dialog) {
} else if (!Debt && withdraw && money>ClientData.Play->Bank) {
GtkMessageBox(dialog,_("There isn't that much money available..."),
title,MB_OK);
- } else if (money>ClientData.Play->Cash) {
+ } else if (!withdraw && money>ClientData.Play->Cash) {
GtkMessageBox(dialog,_("You don't have that much money!"),
title,MB_OK);
} else {