From 68fa8e1cd8742d1df26f0d863e5e6f97154bb4a4 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Thu, 2 Sep 2004 12:51:09 +0000 Subject: [PATCH] * color.c (try_alloc_color_pair (ncurses)): Added const qualifier to the arguments. --- src/ChangeLog | 5 +++++ src/color.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index fb2e3c815..cc58e7265 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-09-02 Roland Illig + + * color.c (try_alloc_color_pair (ncurses)): Added const qualifier + to the arguments. + 2004-09-02 Roland Illig * man2hlp.c (handle_link): Reverted the last change because diff --git a/src/color.c b/src/color.c index 86b298e1e..76016576e 100644 --- a/src/color.c +++ b/src/color.c @@ -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;