From edf9b36b81f7334dee1091e6f1d8804944342a56 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 1 Aug 2010 23:49:03 +0000 Subject: [PATCH] (svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position. --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 42bec8fb63..de7c442878 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -2066,8 +2066,8 @@ public: if (v->type != VEH_TRAIN) { size->height = 0; size->width = 0; - break; } + break; case VVW_WIDGET_VIEWPORT: size->width = VV_INITIAL_VIEWPORT_WIDTH;