diff options
author | rubidium <rubidium@openttd.org> | 2013-06-23 15:37:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-23 15:37:18 +0000 |
commit | 8c5a7cf0ab1837db795b73e837b2bae944266878 (patch) | |
tree | 53546728bb482467f030a39e7ad3b464e8eb5c1f /src/fontcache.h | |
parent | c23eaf07906d70a5d188ea0f7ac412a6a065a59f (diff) | |
download | openttd-8c5a7cf0ab1837db795b73e837b2bae944266878.tar.xz |
(svn r25445) -Codechange: simplify the font loading
Diffstat (limited to 'src/fontcache.h')
-rw-r--r-- | src/fontcache.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fontcache.h b/src/fontcache.h index b26eaa298..df425886f 100644 --- a/src/fontcache.h +++ b/src/fontcache.h @@ -154,15 +154,9 @@ struct FreeTypeSettings { extern FreeTypeSettings _freetype; +#endif /* WITH_FREETYPE */ + void InitFreeType(bool monospace); void UninitFreeType(); -#else - -/* Stub for initializiation */ -static inline void InitFreeType(bool monospace) {} -static inline void UninitFreeType() {} - -#endif /* WITH_FREETYPE */ - #endif /* FONTCACHE_H */ |