From 5c08ac3b9326ae7cedb1a21532ee69aba70b8461 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 8 Mar 2005 21:47:22 +0000 Subject: [PATCH] (svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!! --- vehicle_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle_gui.c b/vehicle_gui.c index 1254c6f411..eb1640e8e3 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) {