# HG changeset patch # User Kenichi Handa # Date 1165539361 0 # Node ID e3cccb27ecd265a4d14a039ccb1841446159f920 # Parent a4a6a88fed9824f805b3f175c91a57a45595a15c (x_query_font): Use xstricmp instead off strcasecmp. diff -r a4a6a88fed98 -r e3cccb27ecd2 src/xterm.c --- a/src/xterm.c Fri Dec 08 00:39:01 2006 +0000 +++ b/src/xterm.c Fri Dec 08 00:56:01 2006 +0000 @@ -10203,8 +10203,8 @@ 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; }