1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

(compute_motion): If we just moved over a continuation

return contin_hpos as prevhpos.
This commit is contained in:
Andreas Schwab 1998-02-27 09:38:41 +00:00
parent f980ec39f6
commit ef3af330d2

View File

@ -1467,7 +1467,10 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
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;