[GRASS5] v.digit color name mismatch

cheg01 at attbi.com cheg01 at attbi.com
Mon Feb 24 00:59:49 EST 2003

I found the source of the incorrect behavior of the
v.digit->Customize->Color menu. The color names do not match the colors
used in the display fo the following reason:

The colors used in the display are defined in the file

#define D_COLOR_LIST:

The color names used in v.digit are defined in the file

static char *color_names[] = {
     "             ",
     "     white",
     "     black",
     "    yellow",
     "       blue",
     "        red",
     "     green",
     "   orange",
     "       grey",
     " magenta",
     "      aqua",
     "    indigo",
     "     violet",
     "   brown",
     "             ",
     "            "

To fix it, edit the color_names list to match the D_COLOR_LIST and
recompile v.digit.

More information about the grass-dev mailing list