texinfo-commits
[Top][All Lists]
Advanced

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

[6408] fix hl for xref on first line of window


From: Gavin D. Smith
Subject: [6408] fix hl for xref on first line of window
Date: Sat, 11 Jul 2015 00:49:59 +0000

Revision: 6408
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6408
Author:   gavin
Date:     2015-07-11 00:49:58 +0000 (Sat, 11 Jul 2015)
Log Message:
-----------
fix hl for xref on first line of window

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

Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c        2015-07-11 00:37:08 UTC (rev 6407)
+++ trunk/info/display.c        2015-07-11 00:49:58 UTC (rev 6408)
@@ -362,9 +362,12 @@
       terminal_begin_underline ();
       ref_seen_in_line = 1;
       terminal_goto_xy (0, win->first_row);
-      point_in_line = 0; /* Don't try to highlight a later reference. */
-      terminal_begin_standout ();
-      ref_highlighted = 1;
+      if (point_in_line)
+        {
+          point_in_line = 0; /* Don't try to highlight a later reference. */
+          terminal_begin_standout ();
+          ref_highlighted = 1;
+        }
     }
 
   for (mbi_init (iter, start, win->node->contents + win->node->nodelen - 




reply via email to

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