Mercurial > emacs
changeset 95202:55ae253968bc
(xfont_list_pattern, compare_font_names): Use xstricmp.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 22 May 2008 13:35:54 +0000 |
parents | 802ca11b791e |
children | 675ce1a056ee |
files | src/xfont.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfont.c Thu May 22 12:50:48 2008 +0000 +++ b/src/xfont.c Thu May 22 13:35:54 2008 +0000 @@ -206,7 +206,7 @@ static int compare_font_names (const void *name1, const void *name2) { - return strcasecmp (*(const char **) name1, *(const char **) name2); + return xstricmp (*(const char **) name1, *(const char **) name2); } static Lisp_Object xfont_list_pattern P_ ((Lisp_Object, Display *, char *)); @@ -253,7 +253,7 @@ Lisp_Object entity; int result; - if (i > 0 && strcasecmp (indices[i - 1], indices[i]) == 0) + if (i > 0 && xstricmp (indices[i - 1], indices[i]) == 0) continue; entity = font_make_entity ();