# HG changeset patch # User Jason Rumney <jasonr@gnu.org> # Date 1211467969 0 # Node ID 93de3f6c1a6c4d0b53e701ba46cfaad560f5fdb9 # Parent a6a4ada914491f666312d890b194a4a0d94bbb90 * 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. diff -r a6a4ada91449 -r 93de3f6c1a6c src/image.c --- a/src/image.c Thu May 22 14:52:37 2008 +0000 +++ b/src/image.c Thu May 22 14:52:49 2008 +0000 @@ -4862,7 +4862,7 @@ if (CONSP (specified_color) && STRINGP (XCDR (specified_color))) { - if (xstricmp (SDATA (XCDR (specified_color)), "None") == 0) + if (xstrcasecmp (SDATA (XCDR (specified_color)), "None") == 0) color_val = Qt; else if (x_defined_color (f, SDATA (XCDR (specified_color)), &cdef, 0)) @@ -4871,7 +4871,7 @@ } if (NILP (color_val) && max_key > 0) { - if (xstricmp (max_color, "None") == 0) + if (xstrcasecmp (max_color, "None") == 0) color_val = Qt; else if (x_defined_color (f, max_color, &cdef, 0)) color_val = make_number (cdef.pixel);