diff options
author | tron <tron@openttd.org> | 2005-01-22 22:47:58 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 22:47:58 +0000 |
commit | e5cd6b61933537888b1be19af437415861cca57f (patch) | |
tree | 078e42c5f2a6e1d8ef465541334a5c00039419e1 /gfx.c | |
parent | e75c48ec7a8920c475e515fa13c7629f19cf1a14 (diff) | |
download | openttd-e5cd6b61933537888b1be19af437415861cca57f.tar.xz |
(svn r1596) Add some more statics
Diffstat (limited to 'gfx.c')
-rw-r--r-- | gfx.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |