mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-08 13:29:42 +01:00
(svn r15758) -Fix (r15757): win9x compilation
This commit is contained in:
parent
5654966e75
commit
c0a4498518
@ -299,7 +299,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *logfont, const NEWTEXT
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *english_name = GetEnglishFontName(logfont);
|
const char *english_name = GetEnglishFontName(logfont);
|
||||||
const char *font_name = WIDE_TO_MB(logfont->elfFullName);
|
const char *font_name = WIDE_TO_MB((const TCHAR*)logfont->elfFullName);
|
||||||
DEBUG(freetype, 1, "Fallback font: %s (%s)", font_name, english_name);
|
DEBUG(freetype, 1, "Fallback font: %s (%s)", font_name, english_name);
|
||||||
|
|
||||||
strecpy(info->settings->small_font, font_name, lastof(info->settings->small_font));
|
strecpy(info->settings->small_font, font_name, lastof(info->settings->small_font));
|
||||||
|
Loading…
Reference in New Issue
Block a user