summaryrefslogtreecommitdiff
path: root/src/order_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-14 20:18:06 +0000
committerrubidium <rubidium@openttd.org>2008-07-14 20:18:06 +0000
commitbe722412facf7815181529e503d1262542517431 (patch)
tree8bbc36fdfa2142e3d60c0dafd51136970dc379da /src/order_func.h
parent9895afb43ef7be1900f8762e0ee58e7eba91302c (diff)
downloadopenttd-be722412facf7815181529e503d1262542517431.tar.xz
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
Diffstat (limited to 'src/order_func.h')
-rw-r--r--src/order_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_func.h b/src/order_func.h
index 8d145da93..be2ceea11 100644
--- a/src/order_func.h
+++ b/src/order_func.h
@@ -38,7 +38,7 @@ void CheckOrders(const Vehicle*);
void DeleteVehicleOrders(Vehicle *v);
bool ProcessOrders(Vehicle *v);
-void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable);
+void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int width);
#define MIN_SERVINT_PERCENT 5
#define MAX_SERVINT_PERCENT 90