summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-11-09 11:22:17 +0000
committertruelight <truelight@openttd.org>2007-11-09 11:22:17 +0000
commit42180a8f4e329e36ab1c1876364fa2842536c2d7 (patch)
treed1543d8db2efa1dcb520e5a88653c98d9ef5a0d7 /src/vehicle_gui.cpp
parent1ebfc21e7a8794980c4c8de5b521a19c440c0428 (diff)
downloadopenttd-42180a8f4e329e36ab1c1876364fa2842536c2d7.tar.xz
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
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 6d0f0f85f..43986f575 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1415,7 +1415,7 @@ void CreateVehicleDetailsWindow(Window *w)
}
/** Checks whether service interval is enabled for the vehicle. */
-static bool inline IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type)
+static inline bool IsVehicleServiceIntervalEnabled(const VehicleType vehicle_type)
{
switch (vehicle_type) {
default: NOT_REACHED();