comparison src/xterm.c @ 74479:e3cccb27ecd2

(x_query_font): Use xstricmp instead off strcasecmp.
author Kenichi Handa <handa@m17n.org>
date Fri, 08 Dec 2006 00:56:01 +0000
parents 5d7f02605edd
children 49eed408d9b7
comparison
equal deleted inserted replaced
74478:a4a6a88fed98 74479:e3cccb27ecd2
10201 struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); 10201 struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
10202 int i; 10202 int i;
10203 10203
10204 for (i = 0; i < dpyinfo->n_fonts; i++) 10204 for (i = 0; i < dpyinfo->n_fonts; i++)
10205 if (dpyinfo->font_table[i].name 10205 if (dpyinfo->font_table[i].name
10206 && (!strcasecmp (dpyinfo->font_table[i].name, fontname) 10206 && (!xstricmp (dpyinfo->font_table[i].name, fontname)
10207 || !strcasecmp (dpyinfo->font_table[i].full_name, fontname))) 10207 || !xstricmp (dpyinfo->font_table[i].full_name, fontname)))
10208 return (dpyinfo->font_table + i); 10208 return (dpyinfo->font_table + i);
10209 return NULL; 10209 return NULL;
10210 } 10210 }
10211 10211
10212 10212