summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-07 15:20:31 +0000
committerrubidium <rubidium@openttd.org>2007-08-07 15:20:31 +0000
commit34545a381a30b43098c03bd6fed6d71a3cc0c66c (patch)
treed96722811d3b8b7cb54fe12d32dc41147a3a4159 /src/main_gui.cpp
parent14e55dd4b9c152c3538b9855c68ee28c82a1ebc0 (diff)
downloadopenttd-34545a381a30b43098c03bd6fed6d71a3cc0c66c.tar.xz
(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index fba6ecb1d..e4e20c317 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -2068,7 +2068,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e)
if (p != NULL) {
/* Draw player money */
SetDParam(0, p->player_money);
- DrawStringCentered(w->widget[2].left + 70, 1, p->player_money >= 0 ? STR_0004 : STR_0005, 0);
+ DrawStringCentered(w->widget[2].left + 70, 1, STR_0004, 0);
}
/* Draw status bar */