summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-01 23:49:03 +0000
committerfrosch <frosch@openttd.org>2010-08-01 23:49:03 +0000
commitedf9b36b81f7334dee1091e6f1d8804944342a56 (patch)
treed62793a6307ceb3c64404833e5595f04a2697e76 /src
parent9dbe84922bde1df37bdcf1ae390869adf4380bb9 (diff)
downloadopenttd-edf9b36b81f7334dee1091e6f1d8804944342a56.tar.xz
(svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position.
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 42bec8fb6..de7c44287 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;