summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 740b84528..1e071caab 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -833,7 +833,7 @@ static void AircraftDepotWndProc(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;
@@ -871,8 +871,6 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e)
SetWindowDirty(w);
}
break;
- }
- break;
case WE_RESIZE:
w->vscroll.cap += e->sizing.diff.y / 24;