changeset 12192:8d5108aed6b0 draft

(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
author alberth <alberth@openttd.org>
date Sat, 20 Jun 2009 15:25:28 +0000
parents 98caf4f386d6
children 649406fd0b87
files src/fontcache.cpp src/gfx_func.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -37,6 +37,8 @@
 	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
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -146,7 +146,6 @@
 bool ToggleFullScreen(bool fs);
 
 /* gfx.cpp */
-#define ASCII_LETTERSTART 32
 extern FontSize _cur_fontsize;
 
 byte GetCharacterWidth(FontSize size, uint32 key);