]> git.eshelyaron.com Git - emacs.git/commitdiff
(reassert_line_highlight): Reverse the inverse-video effect
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Oct 2000 17:10:10 +0000 (17:10 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Oct 2000 17:10:10 +0000 (17:10 +0000)
if inverse_video is non-zero.

src/term.c

index c33d0553a1ada05075aa477e53af2ac7fa85c7cd..fc96d7d7129d9807613b1f1cb81c8d45e378c797 100644 (file)
@@ -712,7 +712,7 @@ reassert_line_highlight (highlight, vpos)
   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