summaryrefslogtreecommitdiff
path: root/src
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
commit2493626f2106f4d566b4dbc82480a731ec37a755 (patch)
treed1543d8db2efa1dcb520e5a88653c98d9ef5a0d7 /src
parent71f443cbdc78fb806da2b069e316e08df9ec6015 (diff)
downloadopenttd-2493626f2106f4d566b4dbc82480a731ec37a755.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')
-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();