diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ship_gui.c b/ship_gui.c index 7abfd96cf..c52c5165a 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -816,7 +816,7 @@ static void ShipDepotWndProc(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; @@ -854,8 +854,6 @@ static void ShipDepotWndProc(Window* w, WindowEvent* e) SetWindowDirty(w); } break; - } - break; case WE_RESIZE: w->vscroll.cap += e->sizing.diff.y / 24; |