texinfo-commits
[Top][All Lists]
Advanced

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

[6588] avoid outputing codes at end of line


From: Gavin D. Smith
Subject: [6588] avoid outputing codes at end of line
Date: Sat, 29 Aug 2015 19:51:45 +0000

Revision: 6588
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6588
Author:   gavin
Date:     2015-08-29 19:51:44 +0000 (Sat, 29 Aug 2015)
Log Message:
-----------
avoid outputing codes at end of line

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-08-29 17:39:54 UTC (rev 6587)
+++ trunk/ChangeLog     2015-08-29 19:51:44 UTC (rev 6588)
@@ -1,5 +1,10 @@
 2015-08-29  Gavin Smith  <address@hidden>
 
+       * info/display.c (display_process_line): Don't append codes to 
+       line if we are still in the DEFAULT phase.
+
+2015-08-29  Gavin Smith  <address@hidden>
+
        * doc/info-stnd.texi (Colors and Styles): New chapter.
 
 2015-08-29  Gavin Smith  <address@hidden>

Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c        2015-08-29 17:39:54 UTC (rev 6587)
+++ trunk/info/display.c        2015-08-29 19:51:44 UTC (rev 6588)
@@ -498,7 +498,8 @@
       mbi_advance (iter);
     }
 
-  wrap_terminal_switch_rendition (tb_printed_line, empty, empty, empty);
+  if (writing_out != DEFAULT)
+    wrap_terminal_switch_rendition (tb_printed_line, empty, empty, empty);
 
   *iter_inout = iter;
 }




reply via email to

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