From f3262c76f064f77415a487c6bee107b2aa747f9c Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Mar 2009 21:35:22 +0000 Subject: (svn r15851) -Fix (r15849): compile failure when there's no freetype... --- src/fontcache.cpp | 6 +++--- 1 file 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 #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 { -- cgit v1.2.3-54-g00ecf