# HG changeset patch # User Andreas Schwab # Date 888572321 0 # Node ID 020b0eade8c556758cb8204b127b019a57166bd4 # Parent f27355b19abafbcbda99c3f2d2907ce97eb17be5 (compute_motion): If we just moved over a continuation return contin_hpos as prevhpos. diff -r f27355b19aba -r 020b0eade8c5 src/indent.c --- a/src/indent.c Wed Feb 25 23:26:45 1998 +0000 +++ b/src/indent.c Fri Feb 27 09:38:41 1998 +0000 @@ -1467,7 +1467,10 @@ val_compute_motion.bytepos = pos_byte; val_compute_motion.hpos = hpos; val_compute_motion.vpos = vpos; - val_compute_motion.prevhpos = prev_hpos; + if (contin_hpos && prev_hpos == 0) + val_compute_motion.prevhpos = contin_hpos; + else + val_compute_motion.prevhpos = prev_hpos; /* We alalways handle all of them here; none of them remain to do. */ val_compute_motion.ovstring_chars_done = 0;