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
commit68248cad4ffaa1d755c8e9f16f8d7fc1180c3ae1 (patch)
treead997b5cfb54a6cc8631757210a2d71acde0bfe7 /src/gfx.h
parent4a1f9286dd2c5c8b3366c7430b3690fbdb21685b (diff)
downloadopenttd-68248cad4ffaa1d755c8e9f16f8d7fc1180c3ae1.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();