diff options
author | rubidium <rubidium@openttd.org> | 2009-03-25 21:35:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-25 21:35:22 +0000 |
commit | f3262c76f064f77415a487c6bee107b2aa747f9c (patch) | |
tree | 2b29df5f00f94344e369e72c48ecfe47a8b82215 | |
parent | 89ceed55bf2450aa9a2f070090a2cea87a035163 (diff) | |
download | openttd-f3262c76f064f77415a487c6bee107b2aa747f9c.tar.xz |
(svn r15851) -Fix (r15849): compile failure when there's no freetype...
-rw-r--r-- | src/fontcache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp index 287a281d0..3e1f0f879 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -13,6 +13,9 @@ #include "table/sprites.h" #include "table/control_codes.h" +/** Semi-constant for the height of the different sizes of fonts. */ +int _font_height[FS_END]; + #ifdef WITH_FREETYPE #include <ft2build.h> #include FT_FREETYPE_H @@ -27,9 +30,6 @@ static FT_Face _face_small = NULL; static FT_Face _face_medium = NULL; static FT_Face _face_large = NULL; -/** Semi-constant for the height of the different sizes of fonts. */ -int _font_height[FS_END]; - FreeTypeSettings _freetype; enum { |