summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-08 19:43:13 +0000
committerbjarni <bjarni@openttd.org>2006-09-08 19:43:13 +0000
commitee05c4cd93856d698d386e570f7dbc41bc8a9169 (patch)
treedecad3d8f00b0944aac5be748c1672a0f33b76d9
parentf6719443ade943a67e183043ece35619b98153ff (diff)
downloadopenttd-ee05c4cd93856d698d386e570f7dbc41bc8a9169.tar.xz
(svn r6431) -Fix r6424: removed a declaration after statement in ReplaceVehicleWndProc()
-rw-r--r--vehicle_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c
index ab020d88d..6f574a561 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -783,9 +783,9 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e)
int x2 = 1 + 228;
int y2 = 15;
int sel[2];
+ byte i;
sel[0] = WP(w,replaceveh_d).sel_index[0];
sel[1] = WP(w,replaceveh_d).sel_index[1];
- byte i;
SetupScrollStuffForReplaceWindow(w);