Mercurial > emacs
changeset 95211:e5b02763f924
* dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp.
* dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c:
* macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c:
* xfns.c, xfont.c: Callers changed.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 22 May 2008 14:52:29 +0000 |
parents | b3c07d035bed |
children | a6a4ada91449 |
files | src/font.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/font.c Thu May 22 14:52:21 2008 +0000 +++ b/src/font.c Thu May 22 14:52:29 2008 +0000 @@ -312,7 +312,7 @@ for (j = 1; j < ASIZE (AREF (table, i)); j++) { elt = AREF (AREF (table, i), j); - if (xstricmp (s, (char *) SDATA (SYMBOL_NAME (elt))) == 0) + if (xstrcasecmp (s, (char *) SDATA (SYMBOL_NAME (elt))) == 0) return ((XINT (AREF (AREF (table, i), 0)) << 8) | (i << 4) | (j - 1)); } @@ -1981,7 +1981,8 @@ Lisp_Object entity_str = SYMBOL_NAME (AREF (entity, i)); Lisp_Object spec_str = SYMBOL_NAME (spec_prop[i]); - if (xstricmp ((char *) SDATA (spec_str), (char *) SDATA (entity_str))) + if (xstrcasecmp ((char *) SDATA (spec_str), + (char *) SDATA (entity_str))) { if (i == FONT_FAMILY_INDEX && CONSP (alternate_families)) { @@ -1991,8 +1992,8 @@ j++, alternate_families = XCDR (alternate_families)) { spec_str = XCAR (alternate_families); - if (xstricmp ((char *) SDATA (spec_str), - (char *) SDATA (entity_str)) == 0) + if (xstrcasecmp ((char *) SDATA (spec_str), + (char *) SDATA (entity_str)) == 0) break; }