1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codechange: [WIN32] Use language isocode for fallback font detection (#13310)

This commit is contained in:
Loïc Guilloux
2025-01-21 15:57:09 +01:00
committed by GitHub
parent 90e8dd9f10
commit ef826a048a
7 changed files with 13 additions and 16 deletions

View File

@@ -2297,7 +2297,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher)
_fcsettings.mono.os_handle = nullptr;
_fcsettings.medium.os_handle = nullptr;
bad_font = !SetFallbackFont(&_fcsettings, _langpack.langpack->isocode, _langpack.langpack->winlangid, searcher);
bad_font = !SetFallbackFont(&_fcsettings, _langpack.langpack->isocode, searcher);
_fcsettings = backup;