diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 733272ee97b..265fd07f776 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1467,7 +1467,10 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1467 | val_compute_motion.bytepos = pos_byte; | 1467 | val_compute_motion.bytepos = pos_byte; |
| 1468 | val_compute_motion.hpos = hpos; | 1468 | val_compute_motion.hpos = hpos; |
| 1469 | val_compute_motion.vpos = vpos; | 1469 | val_compute_motion.vpos = vpos; |
| 1470 | val_compute_motion.prevhpos = prev_hpos; | 1470 | if (contin_hpos && prev_hpos == 0) |
| 1471 | val_compute_motion.prevhpos = contin_hpos; | ||
| 1472 | else | ||
| 1473 | val_compute_motion.prevhpos = prev_hpos; | ||
| 1471 | /* We alalways handle all of them here; none of them remain to do. */ | 1474 | /* We alalways handle all of them here; none of them remain to do. */ |
| 1472 | val_compute_motion.ovstring_chars_done = 0; | 1475 | val_compute_motion.ovstring_chars_done = 0; |
| 1473 | 1476 | ||