From c24374f99c22d9420d6d182ff835f07a5b954b48 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 8 Jan 2013 22:46:42 +0000 Subject: (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) --- src/vehicle_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vehicle_gui.cpp') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 554745e1d..970674639 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1034,7 +1034,7 @@ static int CDECL VehicleCargoSorter(const Vehicle * const *a, const Vehicle * co const Vehicle *v; CargoArray diff; - /* Append the cargo of the connected weagons */ + /* Append the cargo of the connected waggons */ for (v = *a; v != NULL; v = v->Next()) diff[v->cargo_type] += v->cargo_cap; for (v = *b; v != NULL; v = v->Next()) diff[v->cargo_type] -= v->cargo_cap; @@ -1068,7 +1068,7 @@ static int CDECL VehicleModelSorter(const Vehicle * const *a, const Vehicle * co return (r != 0) ? r : VehicleNumberSorter(a, b); } -/** Sort vehciles by their value */ +/** Sort vehicles by their value */ static int CDECL VehicleValueSorter(const Vehicle * const *a, const Vehicle * const *b) { const Vehicle *u; @@ -2433,7 +2433,7 @@ public: SetDParam(2, v->GetDisplaySpeed()); if (v->current_order.GetDepotActionType() & ODATFB_NEAREST_DEPOT) { /* This case *only* happens when multiple nearest depot orders - * follow eachother (including an order list only one order: a + * follow each other (including an order list only one order: a * nearest depot order) and there are no reachable depots. * It is primarily to guard for the case that there is no * depot with index 0, which would be used as fallback for -- cgit v1.2.3-54-g00ecf