Tried to reduce amount of work necessary to flip the backlight - since

under VNC, this occurs rather slowly.  Less work is done, but the
result has not changed.
This commit is contained in:
ddouthitt
2001-09-28 21:23:16 +00:00
parent 5c136ae24e
commit 07608e742e
+3 -2
View File
@@ -271,14 +271,15 @@ curses_drv_wborder (WINDOW *win) {
if (has_colors()) {
wcolor_set(win, current_border_pair, NULL);
wattron(win, COLOR_PAIR(current_border_pair) | A_BOLD);
//wattron(win, COLOR_PAIR(current_border_pair) | A_BOLD);
wattron(win, A_BOLD);
}
box(win, 0, 0);
if (has_colors()) {
wcolor_set(win, current_color_pair, NULL);
wattron(win, COLOR_PAIR(current_color_pair));
//wattron(win, COLOR_PAIR(current_color_pair));
wattroff(win, A_BOLD);
}
}