summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-01 13:01:14 +0000
committertron <tron@openttd.org>2005-08-01 13:01:14 +0000
commit91353c841f3adde7f601ab4185e3486a034dbd04 (patch)
tree3566a6de856b142c5cfbe2c15e193bbe50e194df /aircraft_gui.c
parente06d017b91715f8e24fb2053bf62fc2ad9d1ae89 (diff)
downloadopenttd-91353c841f3adde7f601ab4185e3486a034dbd04.tar.xz
(svn r2780) Remove some more unused strings and make the use of a few strings more explicit
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 45f2a6f19..25e3b8901 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -388,7 +388,7 @@ static void AircraftDetailsWndProc(Window *w, WindowEvent *e)
u = v->next;
SetDParam(2, _cargoc.names_long[u->cargo_type]);
SetDParam(3, u->cargo_cap);
- DrawString(60, y, STR_A019_CAPACITY + (u->cargo_cap == 0), 0);
+ DrawString(60, y, (u->cargo_cap != 0) ? STR_A019_CAPACITY : STR_A01A_CAPACITY, 0);
y += 14;
}