Mercurial > emacs
comparison src/dosfns.c @ 95209:6758d4235380
* 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:10 +0000 |
parents | c3ae651b3f49 |
children | 8e2483da8823 |
comparison
equal
deleted
inserted
replaced
95208:0b816bb187ab | 95209:6758d4235380 |
---|---|
418 msdos_stdcolor_idx (const char *name) | 418 msdos_stdcolor_idx (const char *name) |
419 { | 419 { |
420 int i; | 420 int i; |
421 | 421 |
422 for (i = 0; i < sizeof (vga_colors) / sizeof (vga_colors[0]); i++) | 422 for (i = 0; i < sizeof (vga_colors) / sizeof (vga_colors[0]); i++) |
423 if (xstricmp (name, vga_colors[i]) == 0) | 423 if (xstrcasecmp (name, vga_colors[i]) == 0) |
424 return i; | 424 return i; |
425 | 425 |
426 return | 426 return |
427 strcmp (name, unspecified_fg) == 0 ? FACE_TTY_DEFAULT_FG_COLOR | 427 strcmp (name, unspecified_fg) == 0 ? FACE_TTY_DEFAULT_FG_COLOR |
428 : strcmp (name, unspecified_bg) == 0 ? FACE_TTY_DEFAULT_BG_COLOR | 428 : strcmp (name, unspecified_bg) == 0 ? FACE_TTY_DEFAULT_BG_COLOR |