summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-04 18:13:56 +0000
committerrubidium <rubidium@openttd.org>2009-10-04 18:13:56 +0000
commit54806e7437efdc3e9cd71a8a778671ea5a4b10b0 (patch)
tree5932fafb7c7bae59b1959514181b724ddbd7f9a6
parentb2f50e79b2712f2c04cd058592577db674e5765f (diff)
downloadopenttd-54806e7437efdc3e9cd71a8a778671ea5a4b10b0.tar.xz
(svn r17696) -Fix (r17693): compile failure when compiling without freetype
-rw-r--r--src/fontcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index f03568e97..4ff5ca712 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -13,6 +13,7 @@
#define FONTCACHE_H
#include "gfx_type.h"
+#include "spritecache.h"
/** Get the SpriteID mapped to the given font size and key */
SpriteID GetUnicodeGlyph(FontSize size, uint32 key);
@@ -43,7 +44,7 @@ extern FreeTypeSettings _freetype;
void InitFreeType();
void UninitFreeType();
-const struct Sprite *GetGlyph(FontSize size, uint32 key);
+const Sprite *GetGlyph(FontSize size, uint32 key);
uint GetGlyphWidth(FontSize size, uint32 key);
/**