From 0aed5bf7d7558e209ea57e277a85c408176147b6 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 20 Jun 2009 15:25:28 +0000 Subject: (svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file. --- src/fontcache.cpp | 2 ++ src/gfx_func.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fontcache.cpp b/src/fontcache.cpp index e59104ac6..2a0a96bd8 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 1831f5696..dd7693f93 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); -- cgit v1.2.3-54-g00ecf