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 | d8b56c123eab7f7b48f2af3579130e366f6106ab (patch) | |
tree | 3e7ec4e2b0405d8a2ab70cf1e236cbd627caf9aa /station_gui.c | |
parent | 5fa6b7eb06dd91aabde074acffab89ce00283e9e (diff) | |
download | openttd-d8b56c123eab7f7b48f2af3579130e366f6106ab.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; |