changeset 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 87893013088c
children 69af14800f67
files src/term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Sat Oct 28 17:07:51 2000 +0000
+++ b/src/term.c	Sat Oct 28 17:10:10 2000 +0000
@@ -712,7 +712,7 @@
   else if (chars_wasted && chars_wasted[vpos] == 0)
     /* For terminals with standout markers, write one on this line
        if there isn't one already.  */
-    write_standout_marker (highlight, vpos);
+    write_standout_marker (inverse_video ? !highlight : highlight, vpos);
 }
 
 /* Call this when about to modify line at position VPOS