Mercurial > emacs
comparison src/dosfns.c @ 25212:f0cb2d2e49f2
(msdos_stdcolor_name): Remove const from return value.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 10 Aug 1999 10:29:20 +0000 |
parents | 73c54061f4bb |
children | f5dded41adcc |
comparison
equal
deleted
inserted
replaced
25211:a1527fde7766 | 25212:f0cb2d2e49f2 |
---|---|
431 | 431 |
432 return FACE_TTY_DEFAULT_COLOR; | 432 return FACE_TTY_DEFAULT_COLOR; |
433 } | 433 } |
434 | 434 |
435 /* Given a color index, return its standard name. */ | 435 /* Given a color index, return its standard name. */ |
436 const char * | 436 char * |
437 msdos_stdcolor_name (int idx) | 437 msdos_stdcolor_name (int idx) |
438 { | 438 { |
439 if (idx < 0 || idx >= sizeof (vga_colors) / sizeof (vga_colors[0])) | 439 if (idx < 0 || idx >= sizeof (vga_colors) / sizeof (vga_colors[0])) |
440 return ""; /* meaning the default */ | 440 return ""; /* meaning the default */ |
441 return vga_colors[idx]; | 441 return vga_colors[idx]; |