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
commit91e317cd1cadb520e0f87188ca4dbabbb8abbc6d (patch)
tree8bbc36fdfa2142e3d60c0dafd51136970dc379da /src/order_func.h
parentd9d32d3619e97861cc48c17427d20a4a57f52438 (diff)
downloadopenttd-91e317cd1cadb520e0f87188ca4dbabbb8abbc6d.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