mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* syntax.c (this_try_alloc_color_pair): Added const qualifiers.
This commit is contained in:
parent
6f34e18e3e
commit
a3c3564d4d
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user