curses - reinstate guicolors

This commit is contained in:
Tangles
2018-05-16 21:43:05 +10:00
committed by nhmall
parent c3ecb5c43d
commit 7c025fc344

View File

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