Commit 2adccf28 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(x_query_font): Use xstricmp instead off strcasecmp.

parent b1249a95
......@@ -10203,8 +10203,8 @@ x_query_font (f, fontname)
for (i = 0; i < dpyinfo->n_fonts; i++)
if (dpyinfo->font_table[i].name
&& (!strcasecmp (dpyinfo->font_table[i].name, fontname)
|| !strcasecmp (dpyinfo->font_table[i].full_name, fontname)))
&& (!xstricmp (dpyinfo->font_table[i].name, fontname)
|| !xstricmp (dpyinfo->font_table[i].full_name, fontname)))
return (dpyinfo->font_table + i);
return NULL;
}
......
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