diff --git a/edit/ChangeLog b/edit/ChangeLog index 4fc156212..a4d608839 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,7 @@ +2004-09-25 Roland Illig + + * syntax.c (this_try_alloc_color_pair): Added const qualifiers. + 2004-09-25 Pavel S. Shirshov * edit.c (edit_clean): g_free handles NULL argument too, diff --git a/edit/syntax.c b/edit/syntax.c index cdb6944d3..277a324bc 100644 --- a/edit/syntax.c +++ b/edit/syntax.c @@ -583,7 +583,7 @@ static void get_args (char *l, char **args, int *argc) #define check_not_a {if(*a){result=line;break;}} static int -this_try_alloc_color_pair (char *fg, char *bg) +this_try_alloc_color_pair (const char *fg, const char *bg) { char f[80], b[80], *p; if (bg)