Mercurial > emacs
comparison src/term.c @ 33006:c0a3490a2554
(reassert_line_highlight): Reverse the inverse-video effect
if inverse_video is non-zero.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 28 Oct 2000 17:10:10 +0000 |
parents | 923b8d6d8277 |
children | a94852aef620 |
comparison
equal
deleted
inserted
replaced
33005:87893013088c | 33006:c0a3490a2554 |
---|---|
710 /* Handle terminals where standout takes affect at output time */ | 710 /* Handle terminals where standout takes affect at output time */ |
711 standout_requested = highlight; | 711 standout_requested = highlight; |
712 else if (chars_wasted && chars_wasted[vpos] == 0) | 712 else if (chars_wasted && chars_wasted[vpos] == 0) |
713 /* For terminals with standout markers, write one on this line | 713 /* For terminals with standout markers, write one on this line |
714 if there isn't one already. */ | 714 if there isn't one already. */ |
715 write_standout_marker (highlight, vpos); | 715 write_standout_marker (inverse_video ? !highlight : highlight, vpos); |
716 } | 716 } |
717 | 717 |
718 /* Call this when about to modify line at position VPOS | 718 /* Call this when about to modify line at position VPOS |
719 and change whether it is highlighted. */ | 719 and change whether it is highlighted. */ |
720 | 720 |