* syntax.c (this_try_alloc_color_pair): Added const qualifiers.

This commit is contained in:
Roland Illig 2004-09-25 14:28:10 +00:00
parent 6f34e18e3e
commit a3c3564d4d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-25 Roland Illig <roland.illig@gmx.de>
* syntax.c (this_try_alloc_color_pair): Added const qualifiers.
2004-09-25 Pavel S. Shirshov <pavelsh@mail.ru>
* edit.c (edit_clean): g_free handles NULL argument too,

View File

@ -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)