# HG changeset patch # User Kenichi Handa # Date 1154655674 0 # Node ID 4aca71077e07a951512acab85e91a0cf56090e4e # Parent 1f5f7c7bda8aef4573955d0391f1ee75195451b4 (x_query_font): Compare names by ignoring case. diff -r 1f5f7c7bda8a -r 4aca71077e07 src/xterm.c --- a/src/xterm.c Thu Aug 03 22:08:09 2006 +0000 +++ b/src/xterm.c Fri Aug 04 01:41:14 2006 +0000 @@ -10056,8 +10056,8 @@ 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; }