summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
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;