mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -08:00
(x_query_font): Compare names by ignoring case.
This commit is contained in:
parent
f3e0a6de08
commit
dc3ca1078f
1 changed files with 2 additions and 2 deletions
|
|
@ -10056,8 +10056,8 @@ x_query_font (f, fontname)
|
|||
|
||||
for (i = 0; i < dpyinfo->n_fonts; i++)
|
||||
if (dpyinfo->font_table[i].name
|
||||
&& (!strcmp (dpyinfo->font_table[i].name, fontname)
|
||||
|| !strcmp (dpyinfo->font_table[i].full_name, fontname)))
|
||||
&& (!strcasecmp (dpyinfo->font_table[i].name, fontname)
|
||||
|| !strcasecmp (dpyinfo->font_table[i].full_name, fontname)))
|
||||
return (dpyinfo->font_table + i);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue