summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:49:54 +0000
committertron <tron@openttd.org>2005-12-14 06:49:54 +0000
commitcc2b51320f3d375a6ac46e0a5d3c591c5c2b507f (patch)
tree972006aad5b68897701bdfbe942f6f5af09a89f0 /roadveh_gui.c
parent4634243110ae363594dddbb3c291b4693360b777 (diff)
downloadopenttd-cc2b51320f3d375a6ac46e0a5d3c591c5c2b507f.tar.xz
(svn r3300) Remove unreachable code - in this case some duplicate breaks
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 */