summaryrefslogtreecommitdiff
path: root/src/xfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfont.c')
-rw-r--r--src/xfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfont.c b/src/xfont.c
index af2665c567e..8483ae50792 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -206,7 +206,7 @@ extern Lisp_Object Vface_alternative_font_registry_alist;
static int
compare_font_names (const void *name1, const void *name2)
{
- return xstricmp (*(const char **) name1, *(const char **) name2);
+ return xstrcasecmp (*(const char **) name1, *(const char **) name2);
}
static Lisp_Object xfont_list_pattern P_ ((Lisp_Object, Display *, char *));
@@ -253,7 +253,7 @@ xfont_list_pattern (frame, display, pattern)
Lisp_Object entity;
int result;
- if (i > 0 && xstricmp (indices[i - 1], indices[i]) == 0)
+ if (i > 0 && xstrcasecmp (indices[i - 1], indices[i]) == 0)
continue;
entity = font_make_entity ();