Make Color_Names[] const

This commit is contained in:
Andrew V. Samoilov 2002-10-25 19:35:37 +00:00
parent 668ef8ebbe
commit d6725db8b2

View File

@ -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",