summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-06-21 08:35:05 +0000
committeralberth <alberth@openttd.org>2009-06-21 08:35:05 +0000
commit41c8baa7dcf38e85b1ebbee9de77d5b5a31b6622 (patch)
tree176fe4b09799762cbb11d02e40e6aab045d3c3d0
parent6262d3bb739efae5025e46805eb318c00c747f10 (diff)
downloadopenttd-41c8baa7dcf38e85b1ebbee9de77d5b5a31b6622.tar.xz
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
-rw-r--r--src/fontcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 2a0a96bd8..8b133a019 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -13,6 +13,8 @@
#include "table/sprites.h"
#include "table/control_codes.h"
+static const int ASCII_LETTERSTART = 32; ///< First printable ASCII letter.
+
/** Semi-constant for the height of the different sizes of fonts. */
int _font_height[FS_END];
@@ -37,8 +39,6 @@ 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