diff --git a/src/fontcache.cpp b/src/fontcache.cpp index e59104ac69..2a0a96bd86 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -37,6 +37,8 @@ enum { SHADOW_COLOUR = 2, }; +static const int ASCII_LETTERSTART = 32; ///< First printable ASCII letter. + /** Get the font loaded into a Freetype face by using a font-name. * If no appropiate font is found, the function returns an error */ #ifdef WIN32 diff --git a/src/gfx_func.h b/src/gfx_func.h index 1831f56964..dd7693f93a 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -146,7 +146,6 @@ void SortResolutions(int count); bool ToggleFullScreen(bool fs); /* gfx.cpp */ -#define ASCII_LETTERSTART 32 extern FontSize _cur_fontsize; byte GetCharacterWidth(FontSize size, uint32 key);