(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
authorsmatz
Sat, 16 Aug 2008 18:01:23 +0000
changeset 9931 497d35361ad4
parent 9930 8b3ef2774caf
child 9932 510b6b701877
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
src/depot_gui.cpp
--- a/src/depot_gui.cpp	Sat Aug 16 14:15:32 2008 +0000
+++ b/src/depot_gui.cpp	Sat Aug 16 18:01:23 2008 +0000
@@ -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;
 	}
 };