* color.c (try_alloc_color_pair (ncurses)): Added const qualifier

to the arguments.
This commit is contained in:
Roland Illig 2004-09-02 12:51:09 +00:00
parent 38257a486a
commit 68fa8e1cd8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-09-02 Roland Illig <roland.illig@gmx.de>
* color.c (try_alloc_color_pair (ncurses)): Added const qualifier
to the arguments.
2004-09-02 Roland Illig <roland.illig@gmx.de>
* man2hlp.c (handle_link): Reverted the last change because

View File

@ -410,7 +410,7 @@ mc_init_pair (int index, CTYPE foreground, CTYPE background)
}
int
try_alloc_color_pair (char *fg, char *bg)
try_alloc_color_pair (const char *fg, const char *bg)
{
int fg_index, bg_index;
int bold_attr;