summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-24 20:52:28 +0000
committerrubidium <rubidium@openttd.org>2013-06-24 20:52:28 +0000
commitbe2b87c1cde283351cf5a79d4932ec2d8d596781 (patch)
tree5ad6a5932078a894eea539f6fb7642789d4577e4 /src/gfx.cpp
parent7c0f34130c5ee2292ca62ee3b1c10edeb2583d45 (diff)
downloadopenttd-be2b87c1cde283351cf5a79d4932ec2d8d596781.tar.xz
(svn r25455) -Cleanup: make local function really local
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index e698d9254..9cb199e2d 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -653,7 +653,7 @@ int DrawString(int left, int right, int top, StringID str, TextColour colour, St
* 0 - 15 the number of lines ADDED to the string
* 16 - 31 the fontsize in which the length calculation was done at
*/
-uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize size)
+static uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize size = FS_NORMAL)
{
int num = 0;