Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4808a393e8129a813ff4e8399d833ecd > files > 3

readline-5.2-9mdv2009.0.src.rpm

diff -up readline-5.2/display.c.inv readline-5.2/display.c
--- readline-5.2/display.c.inv	2007-10-31 17:14:31.000000000 +0100
+++ readline-5.2/display.c	2007-10-31 17:15:00.000000000 +0100
@@ -943,7 +943,7 @@ rl_redisplay ()
 		  cpos_adjusted == 0 &&
 		  _rl_last_c_pos != o_cpos &&
 		  _rl_last_c_pos > wrap_offset &&
-		  o_cpos < prompt_last_invisible)
+		  o_cpos <= prompt_last_invisible)
 		_rl_last_c_pos -= wrap_offset;
 		  
 	      /* If this is the line with the prompt, we might need to