summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-03-26 11:41:14 +0000
committermaedhros <maedhros@openttd.org>2007-03-26 11:41:14 +0000
commitcdf74ca0c9def1a92783ec424f9beb0b19a44523 (patch)
tree7806281ace357006dd65da3ebe357f7cc2a3626e /src/vehicle_gui.h
parentd2bd12d52e296e1cbeed8b52060ddb0e1e19afec (diff)
downloadopenttd-cdf74ca0c9def1a92783ec424f9beb0b19a44523.tar.xz
(svn r9475) -Codechange: Allow the purchase details widget to expand dynamically if there's still not enough room for the text.
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index e104f8307..052bcf110 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -32,7 +32,7 @@ static inline bool ValidVLWFlags(uint16 flags)
void PlayerVehWndProc(Window *w, WindowEvent *e);
-void DrawVehiclePurchaseInfo(int x, int y, uint w, EngineID engine_number);
+int DrawVehiclePurchaseInfo(int x, int y, uint w, EngineID engine_number);
void DrawTrainImage(const Vehicle *v, int x, int y, int count, int skip, VehicleID selection);
void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection);