changeset 95213:93de3f6c1a6c

* 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:49 +0000
parents a6a4ada91449
children 8c06bfa2117a
files src/image.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);