summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-03-08 21:47:22 +0000
committerDarkvater <darkvater@openttd.org>2005-03-08 21:47:22 +0000
commit83d3f85636ddb80b13d950d8266265171cbc47e4 (patch)
treefc7ed29c1d057d60fe6c239b22ec3ae8d8199d05
parent4206d8f95554de087f1ab8f33d994b04a5b3ced4 (diff)
downloadopenttd-83d3f85636ddb80b13d950d8266265171cbc47e4.tar.xz
(svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!!
-rw-r--r--vehicle_gui.c2
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) {