changeset 19080:0d238726e4c3

(compute_motion): Correct the criterion for when to move back 1 space when we terminate just after continuing the line.
author Richard M. Stallman <rms@gnu.org>
date Sat, 02 Aug 1997 09:30:17 +0000
parents dfbef8117c6a
children f33df9d64fe8
files src/indent.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Sat Aug 02 07:40:22 1997 +0000
+++ b/src/indent.c	Sat Aug 02 09:30:17 1997 +0000
@@ -1152,7 +1152,7 @@
       if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
 	{
 	  if (contin_hpos && prev_hpos == 0
-	      && (contin_hpos == width || wide_column))
+	      && ((hpos > tohpos && contin_hpos == width) || wide_column))
 	    { /* Line breaks because we can't put the character at the
 		 previous line any more.  It is not the multi-column
 		 character continued in middle.  Go back to previous