mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Merge branch 'master' of https://github.com/mamedev/mame.git
This commit is contained in:
commit
e89f4ae6ba
@ -249,7 +249,7 @@ osd_font_sdl::TTF_Font_ptr osd_font_sdl::search_font_config(std::string const &n
|
||||
for (int i = 0; (i < fontset->nfont) && !font; i++)
|
||||
{
|
||||
FcValue val;
|
||||
if ((FcPatternGet(fontset->fonts[i], FC_FILE, 0, &val) == FcResultMatch) && (val.type != FcTypeString))
|
||||
if ((FcPatternGet(fontset->fonts[i], FC_FILE, 0, &val) == FcResultMatch) && (val.type == FcTypeString))
|
||||
{
|
||||
osd_printf_verbose("Matching font: %s\n", val.u.s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user