diff options
author | Darkvater <Darkvater@openttd.org> | 2005-03-08 21:47:22 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-03-08 21:47:22 +0000 |
commit | 5c08ac3b9326ae7cedb1a21532ee69aba70b8461 (patch) | |
tree | fc7ed29c1d057d60fe6c239b22ec3ae8d8199d05 /vehicle_gui.c | |
parent | e9a17526833f4e2d13dd0a1e5e588ea0e09b86c0 (diff) | |
download | openttd-5c08ac3b9326ae7cedb1a21532ee69aba70b8461.tar.xz |
(svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!!
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r-- | vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index 1254c6f41..eb1640e8e 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -842,7 +842,7 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e) break; } // end of VEH_Aircraft } - } // end of paint + } break; // end of paint case WE_CLICK: { switch(e->click.widget) { |