summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-26 22:23:32 +0000
committerDarkvater <darkvater@openttd.org>2006-03-26 22:23:32 +0000
commitd5909f901a8558dbfc562c75a387d66251c6ed20 (patch)
tree2a31936844a550db9aea12a9b2645bfd4e7e7fa2 /graph_gui.c
parent76f1609ee165bfe66a5250144ced8654e28e36ff (diff)
downloadopenttd-d5909f901a8558dbfc562c75a387d66251c6ed20.tar.xz
(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c
index 157726c9e..ea7a40aa6 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -693,7 +693,8 @@ static void CargoPaymentRatesWndProc(Window *w, WindowEvent *e)
{
switch (e->event) {
case WE_PAINT: {
- int i, j, x, y;
+ int j, x, y;
+ CargoID i;
GraphDrawer gd;
gd.sel = _legend_cargobits;