mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +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
|
||||
static char *Color_Names [JMAX_COLOR_NAMES] =
|
||||
static const char * const Color_Names [JMAX_COLOR_NAMES] =
|
||||
{
|
||||
"black", "blue", "green", "cyan",
|
||||
"red", "magenta", "brown", "lightgray",
|
||||
|
Loading…
Reference in New Issue
Block a user