Portability
- Removed obsolete COLOR_* definitions from i18n.h that conflict on Cygwin.
This commit is contained in:
@@ -42,16 +42,16 @@ static struct
|
||||
int index; // offset red=3 (therefore fg=33, bg=43)
|
||||
} allColors[] =
|
||||
{
|
||||
// Color.h enum i18n.h English Index
|
||||
{ Color::nocolor, 0, "none", 0},
|
||||
{ Color::black, COLOR_BLACK, "black", 1}, // fg 29+0 bg 39+0
|
||||
{ Color::red, COLOR_RED, "red", 2},
|
||||
{ Color::green, COLOR_GREEN, "green", 3},
|
||||
{ Color::yellow, COLOR_YELLOW, "yellow", 4},
|
||||
{ Color::blue, COLOR_BLUE, "blue", 5},
|
||||
{ Color::magenta, COLOR_MAGENTA, "magenta", 6},
|
||||
{ Color::cyan, COLOR_CYAN, "cyan", 7},
|
||||
{ Color::white, COLOR_WHITE, "white", 8},
|
||||
// Color.h enum i18n.h English Index
|
||||
{ Color::nocolor, 0, "none", 0},
|
||||
{ Color::black, CCOLOR_BLACK, "black", 1}, // fg 29+0 bg 39+0
|
||||
{ Color::red, CCOLOR_RED, "red", 2},
|
||||
{ Color::green, CCOLOR_GREEN, "green", 3},
|
||||
{ Color::yellow, CCOLOR_YELLOW, "yellow", 4},
|
||||
{ Color::blue, CCOLOR_BLUE, "blue", 5},
|
||||
{ Color::magenta, CCOLOR_MAGENTA, "magenta", 6},
|
||||
{ Color::cyan, CCOLOR_CYAN, "cyan", 7},
|
||||
{ Color::white, CCOLOR_WHITE, "white", 8},
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user