mirror of https://github.com/OpenTTD/OpenTTD
(svn r6431) -Fix r6424: removed a declaration after statement in ReplaceVehicleWndProc()
parent
5f71c4c6c3
commit
ed7cecb5cf
|
@ -783,9 +783,9 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e)
|
||||||
int x2 = 1 + 228;
|
int x2 = 1 + 228;
|
||||||
int y2 = 15;
|
int y2 = 15;
|
||||||
int sel[2];
|
int sel[2];
|
||||||
|
byte i;
|
||||||
sel[0] = WP(w,replaceveh_d).sel_index[0];
|
sel[0] = WP(w,replaceveh_d).sel_index[0];
|
||||||
sel[1] = WP(w,replaceveh_d).sel_index[1];
|
sel[1] = WP(w,replaceveh_d).sel_index[1];
|
||||||
byte i;
|
|
||||||
|
|
||||||
SetupScrollStuffForReplaceWindow(w);
|
SetupScrollStuffForReplaceWindow(w);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue