diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index c869c624c66..402456e1685 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1262,7 +1262,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1262 | int newpos; | 1262 | int newpos; |
| 1263 | 1263 | ||
| 1264 | /* Don't skip invisible if we are already at the margin. */ | 1264 | /* Don't skip invisible if we are already at the margin. */ |
| 1265 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) | 1265 | if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos)) |
| 1266 | { | 1266 | { |
| 1267 | if (contin_hpos && prev_hpos == 0 | 1267 | if (contin_hpos && prev_hpos == 0 |
| 1268 | && hpos > tohpos | 1268 | && hpos > tohpos |
| @@ -1444,7 +1444,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1444 | break; | 1444 | break; |
| 1445 | } | 1445 | } |
| 1446 | 1446 | ||
| 1447 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) | 1447 | if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos)) |
| 1448 | { | 1448 | { |
| 1449 | if (contin_hpos && prev_hpos == 0 | 1449 | if (contin_hpos && prev_hpos == 0 |
| 1450 | && hpos > tohpos | 1450 | && hpos > tohpos |