summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-05-08 04:17:48 +0000
committerKenichi Handa <handa@m17n.org>1998-05-08 04:17:48 +0000
commitc38bd4283991629d6b1fbade919be1006e984108 (patch)
tree7438f69351164a84a9f927b856a8f2d752aafb47 /src/indent.c
parent33fe7d20594231746cb7c0be094c2a924f8dee43 (diff)
downloademacs-c38bd4283991629d6b1fbade919be1006e984108.tar.gz
(compute_motion): Fix, in a different way, the bug of handling
wide-column character around right margin.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c3
1 files changed, 1 insertions, 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