mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
(x_query_font): Use xstricmp instead off strcasecmp.
This commit is contained in:
parent
b1249a9539
commit
2adccf2859
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue