summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-16 20:58:38 +0000
committerrubidium <rubidium@openttd.org>2009-11-16 20:58:38 +0000
commitef11ce84ee8fc81def8bcdef6e2307869f9637f1 (patch)
treedf8a5446047757f0958a0df69c244d963fa4c4ff /src/build_vehicle_gui.cpp
parent2e54ff1aa2ed01737a6b1a2a9c77f99f03e4d446 (diff)
downloadopenttd-ef11ce84ee8fc81def8bcdef6e2307869f9637f1.tar.xz
(svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r--src/build_vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index f6a0e4676..89dabbb15 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -42,7 +42,7 @@
*/
uint GetEngineListHeight(VehicleType type)
{
- return max<uint>(FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM, GetVehicleListHeight(type));
+ return max<uint>(FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM, GetVehicleHeight(type));
}
enum BuildVehicleWidgets {