Commit 541c8d27 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

gdi32: Don't use strcasecmp.

parent 23be5e51
......@@ -2875,7 +2875,7 @@ static void load_fontconfig_fonts(void)
len = strlen( file );
if(len < 4) continue;
ext = &file[ len - 3 ];
if(strcasecmp(ext, "pfa") && strcasecmp(ext, "pfb"))
if(_strnicmp(ext, "pfa", -1) && _strnicmp(ext, "pfb", -1))
AddFontToList(file, NULL, 0,
ADDFONT_EXTERNAL_FONT | ADDFONT_ADD_TO_CACHE | ADDFONT_AA_FLAGS(aa_flags) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment