changeset 22000:55f17d895354

Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Sat, 09 May 1998 01:23:58 +0000
parents 35efe9eafc6c
children e35aafba190f
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Fri May 08 22:26:43 1998 +0000
+++ b/src/indent.c	Sat May 09 01:23:58 1998 +0000
@@ -1260,7 +1260,8 @@
       if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
 	{
 	  if (contin_hpos && prev_hpos == 0
-	      && wide_column_end_hpos > width)
+	      && hpos > tohpos
+	      && (contin_hpos == width || wide_column_end_hpos > width))
 	    { /* 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