summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-10-06 20:44:10 +0000
committerRichard M. Stallman <rms@gnu.org>1996-10-06 20:44:10 +0000
commit927b5a55b83be7410793ac82313d6429a82db9a3 (patch)
tree493269296dd139d4035c659e1f9aea37cabe46df /src/indent.c
parentae178a12eac60920c1a28c6cb8f8e0f362289078 (diff)
downloademacs-927b5a55b83be7410793ac82313d6429a82db9a3.tar.gz
(vmotion, compute_motion): Fill in ovstring_chars_done in the return value.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c3
1 files changed, 3 insertions, 0 deletions
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;
}