changeset 9931:3ed3b1a0c1b3 draft

(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
author smatz <smatz@openttd.org>
date Sat, 16 Aug 2008 18:01:23 +0000
parents c8cdb9930724
children 3cf7ca9f3281
files src/depot_gui.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -1019,9 +1019,10 @@
 		if (this->sel != INVALID_VEHICLE) {
 			_cursor.vehchain = _ctrl_pressed;
 			this->InvalidateWidget(DEPOT_WIDGET_MATRIX);
+			return ES_HANDLED;
 		}
 
-		return ES_HANDLED;
+		return ES_NOT_HANDLED;
 	}
 };