comparison src/macfns.c @ 95214:8c06bfa2117a

* 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:58 +0000
parents fe230927ddf8
children e1cdfeed8fea
comparison
equal deleted inserted replaced
95213:93de3f6c1a6c 95214:8c06bfa2117a
103 103
104 #if GLYPH_DEBUG 104 #if GLYPH_DEBUG
105 int image_cache_refcount, dpyinfo_refcount; 105 int image_cache_refcount, dpyinfo_refcount;
106 #endif 106 #endif
107 107
108 #if 0 /* Use xstricmp instead. */ 108 #if 0 /* Use xstrcasecmp instead. */
109 /* compare two strings ignoring case */ 109 /* compare two strings ignoring case */
110 110
111 static int 111 static int
112 stricmp (const char *s, const char *t) 112 stricmp (const char *s, const char *t)
113 { 113 {
1009 int i; 1009 int i;
1010 1010
1011 BLOCK_INPUT; 1011 BLOCK_INPUT;
1012 1012
1013 for (i = 0; i < sizeof (mac_color_map) / sizeof (mac_color_map[0]); i++) 1013 for (i = 0; i < sizeof (mac_color_map) / sizeof (mac_color_map[0]); i++)
1014 if (xstricmp (colorname, mac_color_map[i].name) == 0) 1014 if (xstrcasecmp (colorname, mac_color_map[i].name) == 0)
1015 { 1015 {
1016 ret = make_number (mac_color_map[i].color); 1016 ret = make_number (mac_color_map[i].color);
1017 break; 1017 break;
1018 } 1018 }
1019 1019