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
commit822ce5661d636261dbf5358c4325c8e54340d86b (patch)
tree7806281ace357006dd65da3ebe357f7cc2a3626e /src/vehicle_gui.h
parent9339c954e14f4a362b503fb9c60a00ec8ffdead5 (diff)
downloadopenttd-822ce5661d636261dbf5358c4325c8e54340d86b.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);