]> git.ipfire.org Git - thirdparty/readline.git/commitdiff
Readline-6.3 patch 4
authorChet Ramey <chet.ramey@case.edu>
Mon, 14 Apr 2014 20:37:01 +0000 (16:37 -0400)
committerChet Ramey <chet.ramey@case.edu>
Mon, 14 Apr 2014 20:37:01 +0000 (16:37 -0400)
display.c
patchlevel

index 913e0da0cf8497cc454fb3ce937aef298ab7de9e..dccfdc7eb2c4bf56a012900321ed5d62bd5589a7 100644 (file)
--- a/display.c
+++ b/display.c
@@ -2677,7 +2677,8 @@ _rl_clean_up_for_exit ()
 {
   if (_rl_echoing_p)
     {
-      _rl_move_vert (_rl_vis_botlin);
+      if (_rl_vis_botlin > 0)  /* minor optimization plus bug fix */
+       _rl_move_vert (_rl_vis_botlin);
       _rl_vis_botlin = 0;
       fflush (rl_outstream);
       rl_restart_output (1, 0);
index ce3e35565330d4faf05e7f91c30ce66182f764fd..626a945e08fbd8926846afabedb8740ebf1720c7 100644 (file)
@@ -1,3 +1,3 @@
 # Do not edit -- exists only for use by patch
 
-3
+4