]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_query_font): Use xstricmp instead off strcasecmp.
authorKenichi Handa <handa@m17n.org>
Fri, 8 Dec 2006 00:56:01 +0000 (00:56 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 8 Dec 2006 00:56:01 +0000 (00:56 +0000)
src/xterm.c

index 75c22a7361f5ff6ba9f8d9e3e1e6b386afb872e2..4fd518fc86a49d0bacffa9c96e68dec63673b645 100644 (file)
@@ -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;
 }