fix compiler warnings in extended colour code

This commit is contained in:
Ailin Nemui 2014-07-04 12:46:51 +02:00
commit c104627462
5 changed files with 32 additions and 20 deletions

View file

@ -302,11 +302,6 @@ static int get_attr(int color)
}
/* Change active color */
void term_set_color2(TERM_WINDOW *window, int col, unsigned int fg_ignore, unsigned int bg_ignore)
{
term_set_color(window, col);
}
void term_set_color(TERM_WINDOW *window, int col)
{
wattrset(window->win, get_attr(col));