summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fontcache.cpp2
-rw-r--r--src/gfx_func.h1
2 files changed, 2 insertions, 1 deletions
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);