From 4c02622cae4bb841eb1e7c73bea1cfe261617a81 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 22 Mar 2009 08:10:20 +0000 Subject: (svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on. --- src/misc_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 5ed8f2b62..7e1dce368 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -770,7 +770,7 @@ int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad } else { GetAcceptanceAroundTiles(cargo, tile, _thd.size.x / TILE_SIZE, _thd.size.y / TILE_SIZE , rad); } - return sy + DrawStationCoverageText(cargo, sx, sy, sct, supplies); + return DrawStationCoverageText(cargo, sx, sy, sct, supplies); } return sy; -- cgit v1.2.3-70-g09d2