summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-03-25 16:09:36 +0000
committermaedhros <maedhros@openttd.org>2007-03-25 16:09:36 +0000
commit1a70cf53ff1890eaef5652975d0c16857ed9ecbb (patch)
treead997b5cfb54a6cc8631757210a2d71acde0bfe7 /src/gfx.h
parentf56fbbfed96629e5fb2f32ffd4ea97e4eb0c646e (diff)
downloadopenttd-1a70cf53ff1890eaef5652975d0c16857ed9ecbb.tar.xz
(svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long.
Diffstat (limited to 'src/gfx.h')
-rw-r--r--src/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.h b/src/gfx.h
index ed5046e32..8eefb2a3e 100644
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -231,7 +231,7 @@ BoundingRect GetStringBoundingBox(const char *str);
uint32 FormatStringLinebreaks(char *str, int maxw);
void LoadStringWidthTable();
void DrawStringMultiCenter(int x, int y, StringID str, int maxw);
-uint DrawStringMultiLine(int x, int y, StringID str, int maxw);
+uint DrawStringMultiLine(int x, int y, StringID str, int maxw, int maxh = -1);
void DrawDirtyBlocks();
void SetDirtyBlocks(int left, int top, int right, int bottom);
void MarkWholeScreenDirty();