gdi32: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
23be5e516b
commit
541c8d271e
|
@ -2875,7 +2875,7 @@ static void load_fontconfig_fonts(void)
|
||||||
len = strlen( file );
|
len = strlen( file );
|
||||||
if(len < 4) continue;
|
if(len < 4) continue;
|
||||||
ext = &file[ len - 3 ];
|
ext = &file[ len - 3 ];
|
||||||
if(strcasecmp(ext, "pfa") && strcasecmp(ext, "pfb"))
|
if(_strnicmp(ext, "pfa", -1) && _strnicmp(ext, "pfb", -1))
|
||||||
AddFontToList(file, NULL, 0,
|
AddFontToList(file, NULL, 0,
|
||||||
ADDFONT_EXTERNAL_FONT | ADDFONT_ADD_TO_CACHE | ADDFONT_AA_FLAGS(aa_flags) );
|
ADDFONT_EXTERNAL_FONT | ADDFONT_ADD_TO_CACHE | ADDFONT_AA_FLAGS(aa_flags) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue