summaryrefslogtreecommitdiff
path: root/station_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-14 15:22:12 +0000
committertron <tron@openttd.org>2005-11-14 15:22:12 +0000
commita7843e154653745799ccdc1288d366ce63ef5802 (patch)
tree3e7ec4e2b0405d8a2ab70cf1e236cbd627caf9aa /station_gui.c
parent6509e42db31f6fb7c13953664c3d73ea404c56d7 (diff)
downloadopenttd-a7843e154653745799ccdc1288d366ce63ef5802.tar.xz
(svn r3180) Replace some magic numbers by symbolic names
Diffstat (limited to 'station_gui.c')
-rw-r--r--station_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_gui.c b/station_gui.c
index 2244386a4..48d3fdf6c 100644
--- a/station_gui.c
+++ b/station_gui.c
@@ -392,7 +392,7 @@ static void DrawStationViewWindow(Window *w)
y += 10;
}
}
- } while (pos > -5 && ++i != 12);
+ } while (pos > -5 && ++i != NUM_CARGO);
if (IsWindowOfPrototype(w, _station_view_widgets)) {
char *b = _userstring;