#ifdef HAVE_FONTCONFIG
if (lang && ft_info->langset
- && FcLangSetHasLang (ft_info->langset, lang) == FcLangEqual)
+ && FcLangSetHasLang (ft_info->langset, lang) != FcLangEqual)
continue;
#endif
if (! mfont__match_p (&ft_info->font, font, MFONT_REGISTRY))
#ifdef HAVE_FONTCONFIG
if (lang && ft_info->langset
- && FcLangSetHasLang (ft_info->langset, lang) == FcLangEqual)
+ && FcLangSetHasLang (ft_info->langset, lang) != FcLangEqual)
continue;
#endif
mplist_push (plist, MPLIST_KEY (p), &ft_info->font);