diff options
author | rubidium <rubidium@openttd.org> | 2009-11-09 10:40:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-09 10:40:33 +0000 |
commit | 860b9b1cead825da2dfc109858f8f134f973f62d (patch) | |
tree | 217816b8cd30cd32331090a36222f2e968c830e2 /src/fontcache.cpp | |
parent | c2221885f488b9a7ca52b11e621582d4c60ab80d (diff) | |
download | openttd-860b9b1cead825da2dfc109858f8f134f973f62d.tar.xz |
(svn r18028) -Codechange: unglobalise some functions
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r-- | src/fontcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp index 7ccdfb931..43852fa29 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -902,7 +902,7 @@ static void SetGlyphPtr(FontSize size, WChar key, const GlyphEntry *glyph) _glyph_ptr[size][GB(key, 8, 8)][GB(key, 0, 8)].width = glyph->width; } -void *AllocateFont(size_t size) +static void *AllocateFont(size_t size) { return MallocT<byte>(size); } |