summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 219a07104..729b99cd5 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -738,7 +738,7 @@ static void RoadDepotWndProc(Window *w, WindowEvent *e)
DeleteWindowById(WC_BUILD_VEHICLE, w->window_number);
break;
- case WE_DRAGDROP: {
+ case WE_DRAGDROP:
switch(e->click.widget) {
case 5: {
Vehicle *v;
@@ -776,8 +776,6 @@ static void RoadDepotWndProc(Window *w, WindowEvent *e)
SetWindowDirty(w);
}
break;
- }
- break;
case WE_RESIZE: {
/* Update the scroll + matrix */