Mercurial > hg > openttd
changeset 11490:8bfd517e1898 draft
(svn r15851) -Fix (r15849): compile failure when there's no freetype...
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 25 Mar 2009 21:35:22 +0000 |
parents | 8874b9372d7f |
children | 5d65ae1a9f47 |
files | src/fontcache.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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_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 {