diff options
author | Max Horn | 2009-12-09 16:44:48 +0000 |
---|---|---|
committer | Max Horn | 2009-12-09 16:44:48 +0000 |
commit | fb5e747565e28a6863190e0e837899d5177244af (patch) | |
tree | 664990ab09fb610c55b82661dc223e55f4f2aa74 /graphics/font.h | |
parent | 421363a13258c149bdf976938e7dc8d8438aa9db (diff) | |
download | scummvm-rg350-fb5e747565e28a6863190e0e837899d5177244af.tar.gz scummvm-rg350-fb5e747565e28a6863190e0e837899d5177244af.tar.bz2 scummvm-rg350-fb5e747565e28a6863190e0e837899d5177244af.zip |
GRAPHICS: Change font code to be identical on all platforms
svn-id: r46309
Diffstat (limited to 'graphics/font.h')
-rw-r--r-- | graphics/font.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/font.h b/graphics/font.h index d0d3459af6..6f7b666485 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -140,17 +140,15 @@ public: static NewFont *loadFromCache(Common::SeekableReadStream &stream); }; -#if (defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__)) -# define DEFINE_FONT(n) \ +#define DEFINE_FONT(n) \ const NewFont *n; \ void create_##n() { \ n = new NewFont(desc); \ } -# define INIT_FONT(n) \ +#define INIT_FONT(n) \ extern void create_##n(); \ create_##n(); -#endif } // End of namespace Graphics |