diff options
author | ache <ache@FreeBSD.org> | 2000-07-15 14:13:42 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-07-15 14:13:42 +0000 |
commit | b77e9fa85321b1f2800aabda8a2e6d5f44ec2eac (patch) | |
tree | c82129796e27b7b5bf2d7ffd6f236e4d230df540 /sys | |
parent | 86716d25b0fc39e56d34a2bf4b956088862ac586 (diff) | |
download | FreeBSD-src-b77e9fa85321b1f2800aabda8a2e6d5f44ec2eac.zip FreeBSD-src-b77e9fa85321b1f2800aabda8a2e6d5f44ec2eac.tar.gz |
Shorten 49m attr resetting expression
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/syscons/scterm-sc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/syscons/scterm-sc.c b/sys/dev/syscons/scterm-sc.c index f03b4d1..cb6ea23 100644 --- a/sys/dev/syscons/scterm-sc.c +++ b/sys/dev/syscons/scterm-sc.c @@ -419,8 +419,7 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c) tcp->cur_attr = mask2attr(tcp); break; case 49: /* restore bg color back to normal */ - tcp->attr_mask &= - FG_CHANGED|BOLD_ATTR|UNDERLINE_ATTR|BLINK_ATTR; + tcp->attr_mask &= ~(BG_CHANGED|REVERSE_ATTR); tcp->cur_color.bg = tcp->std_color.bg; tcp->cur_attr = mask2attr(tcp); break; |