summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-06-27 18:26:50 +0000
committerfrosch <frosch@openttd.org>2009-06-27 18:26:50 +0000
commit812ad41f23b7ed52a161ed15b15a2af3a7edb41f (patch)
tree6758cbd7b2a75e135b4e360285445f1807d3b378 /src/vehicle_gui.cpp
parente42deae3a98ead62bf2ab8e76f8e571a2baa951c (diff)
downloadopenttd-812ad41f23b7ed52a161ed15b15a2af3a7edb41f.tar.xz
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index cffd8c7ef..9d7542071 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -576,7 +576,7 @@ static int CDECL VehicleProfitLastYearSorter(const Vehicle * const *a, const Veh
static int CDECL VehicleCargoSorter(const Vehicle * const *a, const Vehicle * const *b)
{
const Vehicle *v;
- AcceptedCargo diff;
+ CargoArray diff;
memset(diff, 0, sizeof(diff));
/* Append the cargo of the connected weagons */