From c38bd4283991629d6b1fbade919be1006e984108 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 8 May 1998 04:17:48 +0000 Subject: [PATCH] (compute_motion): Fix, in a different way, the bug of handling wide-column character around right margin. --- src/indent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/indent.c b/src/indent.c index 639cfdae818..b4dc11c13cc 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1259,8 +1259,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) { if (contin_hpos && prev_hpos == 0 - && ((hpos > tohpos && contin_hpos == width) - || (wide_column_end_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 -- 2.39.2