summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-05-22 14:54:27 +0000
committerJason Rumney <jasonr@gnu.org>2008-05-22 14:54:27 +0000
commit0513110744d9ae86c12eea93466c6ff539ae3f77 (patch)
tree56e21e77d36415f46efd692e93d2e94edc350b15 /src/image.c
parent3b780338b9e8c0164763eac1fbd1727428c2a8e5 (diff)
downloademacs-0513110744d9ae86c12eea93466c6ff539ae3f77.tar.gz
* 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.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 3628a7f05dd..652c738d109 100644
--- a/src/image.c
+++ b/src/image.c
@@ -4862,7 +4862,7 @@ xpm_load_image (f, img, contents, end)
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 @@ xpm_load_image (f, img, contents, end)
}
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);