summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index e3cb1dafa..6eb4fe25c 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -152,7 +152,7 @@ static void TrainDepotMoveVehicle(const Vehicle *wagon, VehicleID sel, const Veh
if (wagon == NULL) {
if (head != NULL) wagon = head->Last();
- } else {
+ } else {
wagon = wagon->Previous();
if (wagon == NULL) return;
}