diff options
author | truelight <truelight@openttd.org> | 2007-11-09 11:22:17 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-11-09 11:22:17 +0000 |
commit | 42180a8f4e329e36ab1c1876364fa2842536c2d7 (patch) | |
tree | d1543d8db2efa1dcb520e5a88653c98d9ef5a0d7 /src/vehicle_gui.cpp | |
parent | 1ebfc21e7a8794980c4c8de5b521a19c440c0428 (diff) | |
download | openttd-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.cpp | 2 |
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(); |