[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macfns.c,v
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/macfns.c,v |
Date: |
Thu, 22 May 2008 14:52:59 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Jason Rumney <jasonr> 08/05/22 14:52:59
Index: macfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/macfns.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -b -r1.125 -r1.126
--- macfns.c 21 May 2008 04:00:01 -0000 1.125
+++ macfns.c 22 May 2008 14:52:58 -0000 1.126
@@ -105,7 +105,7 @@
int image_cache_refcount, dpyinfo_refcount;
#endif
-#if 0 /* Use xstricmp instead. */
+#if 0 /* Use xstrcasecmp instead. */
/* compare two strings ignoring case */
static int
@@ -1011,7 +1011,7 @@
BLOCK_INPUT;
for (i = 0; i < sizeof (mac_color_map) / sizeof (mac_color_map[0]); i++)
- if (xstricmp (colorname, mac_color_map[i].name) == 0)
+ if (xstrcasecmp (colorname, mac_color_map[i].name) == 0)
{
ret = make_number (mac_color_map[i].color);
break;