summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 22:47:58 +0000
committertron <tron@openttd.org>2005-01-22 22:47:58 +0000
commite5cd6b61933537888b1be19af437415861cca57f (patch)
tree078e42c5f2a6e1d8ef465541334a5c00039419e1 /gfx.c
parente75c48ec7a8920c475e515fa13c7629f19cf1a14 (diff)
downloadopenttd-e5cd6b61933537888b1be19af437415861cca57f.tar.xz
(svn r1596) Add some more statics
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx.c b/gfx.c
index 1d3131f1d..bc28816c1 100644
--- a/gfx.c
+++ b/gfx.c
@@ -290,7 +290,8 @@ void DrawStringCenterUnderline(int x, int y, uint16 str, uint16 color)
GfxFillRect(x-(w>>1), y+10, x-(w>>1)+w, y+10, _string_colorremap[1]);
}
-uint32 FormatStringLinebreaks(byte *str, int maxw) {
+static uint32 FormatStringLinebreaks(byte *str, int maxw)
+{
int num = 0;
int base = _stringwidth_base;
int w;