summaryrefslogtreecommitdiff
path: root/src/fontdetection.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-13 17:34:22 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-13 20:09:14 +0100
commitc6af8f16f63d878371d1a823c12fbf21423505b5 (patch)
treebd0e33995d016b99d39187f2da04ccbee847504f /src/fontdetection.h
parent5ad16409847a17534389054a1b7f5fb83703fb4d (diff)
downloadopenttd-c6af8f16f63d878371d1a823c12fbf21423505b5.tar.xz
Codechange: [Win32] Move Win32-specific font code to a seperate file.
Diffstat (limited to 'src/fontdetection.h')
-rw-r--r--src/fontdetection.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fontdetection.h b/src/fontdetection.h
index 70b2fe236..9cf39d2b0 100644
--- a/src/fontdetection.h
+++ b/src/fontdetection.h
@@ -27,7 +27,6 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face);
#endif /* WITH_FREETYPE */
-#if defined(WITH_FREETYPE) || defined(_WIN32)
/**
* We would like to have a fallback font as the current one
* doesn't contain all characters we need.
@@ -38,8 +37,6 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face);
* @param callback The function to call to check for missing glyphs.
* @return true if a font has been set, false otherwise.
*/
-bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback);
-
-#endif /* defined(WITH_FREETYPE) || defined(WIN32)*/
+bool SetFallbackFont(struct FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback);
#endif