texinfo-commits
[Top][All Lists]
Advanced

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

[5831] turn off standout at bottom of window


From: Gavin D. Smith
Subject: [5831] turn off standout at bottom of window
Date: Thu, 18 Sep 2014 14:10:30 +0000

Revision: 5831
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5831
Author:   gavin
Date:     2014-09-18 14:10:28 +0000 (Thu, 18 Sep 2014)
Log Message:
-----------
turn off standout at bottom of window

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-18 13:45:52 UTC (rev 5830)
+++ trunk/ChangeLog     2014-09-18 14:10:28 UTC (rev 5831)
@@ -3,6 +3,8 @@
        * info/session.c (info_select_reference): When following a reference
        in a footnotes window, try to switch to a window containing a node
        from the file.
+       * info/display.c (display_update_window_1): Turn off standout mode
+       if we are still in it by the time we get to the bottom of the window.
 
 2014-09-16  Gavin Smith  <address@hidden>
 

Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c        2014-09-18 13:45:52 UTC (rev 5830)
+++ trunk/info/display.c        2014-09-18 14:10:28 UTC (rev 5831)
@@ -442,6 +442,9 @@
       pl_num++;
     }
 
+  if (in_match)
+    terminal_end_standout ();
+
   text_buffer_free (&tb_printed_line);
   return pl_num;
 }

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2014-09-18 13:45:52 UTC (rev 5830)
+++ trunk/info/session.c        2014-09-18 14:10:28 UTC (rev 5831)
@@ -2107,7 +2107,7 @@
 
   /* If in a footnotes window, try to switch to a window containing a
      node from the file. */
-  if ((window->node->flags & N_IsInternal)
+  if (window->node && (window->node->flags & N_IsInternal)
       && !strcmp (window->node->nodename, "*Footnotes*"))
         {
           WINDOW *w;




reply via email to

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