mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Make Color_Names[] const
This commit is contained in:
parent
668ef8ebbe
commit
d6725db8b2
@ -81,7 +81,7 @@ static unsigned char Color_Map [JMAX_COLORS] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define JMAX_COLOR_NAMES 16
|
#define JMAX_COLOR_NAMES 16
|
||||||
static char *Color_Names [JMAX_COLOR_NAMES] =
|
static const char * const Color_Names [JMAX_COLOR_NAMES] =
|
||||||
{
|
{
|
||||||
"black", "blue", "green", "cyan",
|
"black", "blue", "green", "cyan",
|
||||||
"red", "magenta", "brown", "lightgray",
|
"red", "magenta", "brown", "lightgray",
|
||||||
|
Loading…
Reference in New Issue
Block a user