From 927b5a55b83be7410793ac82313d6429a82db9a3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 6 Oct 1996 20:44:10 +0000 Subject: [PATCH] (vmotion, compute_motion): Fill in ovstring_chars_done in the return value. --- src/indent.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/indent.c b/src/indent.c index 7a13dca9d33..3ada091d45f 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1109,6 +1109,8 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, val_compute_motion.hpos = hpos; val_compute_motion.vpos = vpos; 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; /* Nonzero if have just continued a line */ val_compute_motion.contin @@ -1328,6 +1330,7 @@ vmotion (from, vtarget, w) val_vmotion.hpos = lmargin; val_vmotion.contin = 0; val_vmotion.prevhpos = 0; + val_vmotion.ovstring_chars_done = 0; return &val_vmotion; } -- 2.39.5