texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5798] clear lines containing highlights properly


From: Gavin D. Smith
Subject: [5798] clear lines containing highlights properly
Date: Thu, 04 Sep 2014 10:16:26 +0000

Revision: 5798
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5798
Author:   gavin
Date:     2014-09-04 10:16:25 +0000 (Thu, 04 Sep 2014)
Log Message:
-----------
clear lines containing highlights properly

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/display.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-03 22:48:48 UTC (rev 5797)
+++ trunk/ChangeLog     2014-09-04 10:16:25 UTC (rev 5798)
@@ -1,3 +1,8 @@
+2014-09-04  Gavin Smith  <address@hidden>
+
+       * info/display.c (display_update_one_window): Clear lines with
+       highlights in them properly.
+
 2014-09-01  Gavin Smith  <address@hidden>
 
        * info/session.c (info_move_to_prev_xref, info_move_to_next_xref):

Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c        2014-09-03 22:48:48 UTC (rev 5797)
+++ trunk/info/display.c        2014-09-04 10:16:25 UTC (rev 5798)
@@ -488,8 +488,9 @@
     {
       DISPLAY_LINE *entry = display[win->first_row + line_index];
 
-      /* If this line has text on it then make it go away. */
-      if (entry && entry->textlen)
+      /* If this line has text on it, or if we don't know what is on the line,
+         clear this line. */
+      if (entry && entry->textlen || entry->inverse)
         {
           entry->textlen = 0;
           entry->text[0] = '\0';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]