diff options
author | maedhros <maedhros@openttd.org> | 2007-03-25 16:09:36 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-03-25 16:09:36 +0000 |
commit | 1a70cf53ff1890eaef5652975d0c16857ed9ecbb (patch) | |
tree | ad997b5cfb54a6cc8631757210a2d71acde0bfe7 /src/gfx.h | |
parent | f56fbbfed96629e5fb2f32ffd4ea97e4eb0c646e (diff) | |
download | openttd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |