aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-06 20:44:10 +0000
committerRichard M. Stallman1996-10-06 20:44:10 +0000
commit927b5a55b83be7410793ac82313d6429a82db9a3 (patch)
tree493269296dd139d4035c659e1f9aea37cabe46df /src
parentae178a12eac60920c1a28c6cb8f8e0f362289078 (diff)
downloademacs-927b5a55b83be7410793ac82313d6429a82db9a3.tar.gz
emacs-927b5a55b83be7410793ac82313d6429a82db9a3.zip
(vmotion, compute_motion): Fill in ovstring_chars_done in the return value.
Diffstat (limited to 'src')
-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,
1109 val_compute_motion.hpos = hpos; 1109 val_compute_motion.hpos = hpos;
1110 val_compute_motion.vpos = vpos; 1110 val_compute_motion.vpos = vpos;
1111 val_compute_motion.prevhpos = prev_hpos; 1111 val_compute_motion.prevhpos = prev_hpos;
1112 /* We alalways handle all of them here; none of them remain to do. */
1113 val_compute_motion.ovstring_chars_done = 0;
1112 1114
1113 /* Nonzero if have just continued a line */ 1115 /* Nonzero if have just continued a line */
1114 val_compute_motion.contin 1116 val_compute_motion.contin
@@ -1328,6 +1330,7 @@ vmotion (from, vtarget, w)
1328 val_vmotion.hpos = lmargin; 1330 val_vmotion.hpos = lmargin;
1329 val_vmotion.contin = 0; 1331 val_vmotion.contin = 0;
1330 val_vmotion.prevhpos = 0; 1332 val_vmotion.prevhpos = 0;
1333 val_vmotion.ovstring_chars_done = 0;
1331 return &val_vmotion; 1334 return &val_vmotion;
1332 } 1335 }
1333 1336