curses - reinstate guicolors
This commit is contained in:
@@ -92,9 +92,9 @@ curses_toggle_color_attr(WINDOW * win, int color, int attr, int onoff)
|
||||
}
|
||||
|
||||
/* GUI color disabled */
|
||||
/* if ((!iflags.wc2_guicolor) && (win != mapwin)) {
|
||||
return;
|
||||
} */
|
||||
if ((!iflags.wc2_guicolor) && (win != mapwin)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (color == 0) { /* make black fg visible */
|
||||
# ifdef USE_DARKGRAY
|
||||
@@ -102,7 +102,6 @@ curses_toggle_color_attr(WINDOW * win, int color, int attr, int onoff)
|
||||
if (can_change_color() && (COLORS > 16)) {
|
||||
/* colorpair for black is already darkgray */
|
||||
} else { /* Use bold for a bright black */
|
||||
|
||||
wattron(win, A_BOLD);
|
||||
}
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user