diff options
author | tron <tron@openttd.org> | 2005-11-14 15:22:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-14 15:22:12 +0000 |
commit | a7843e154653745799ccdc1288d366ce63ef5802 (patch) | |
tree | 3e7ec4e2b0405d8a2ab70cf1e236cbd627caf9aa /station_gui.c | |
parent | 6509e42db31f6fb7c13953664c3d73ea404c56d7 (diff) | |
download | openttd-a7843e154653745799ccdc1288d366ce63ef5802.tar.xz |
(svn r3180) Replace some magic numbers by symbolic names
Diffstat (limited to 'station_gui.c')
-rw-r--r-- | station_gui.c | 2 |
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; |