]> git.eshelyaron.com Git - emacs.git/commitdiff
(vmotion, compute_motion): Fill in ovstring_chars_done in the return value.
authorRichard M. Stallman <rms@gnu.org>
Sun, 6 Oct 1996 20:44:10 +0000 (20:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 6 Oct 1996 20:44:10 +0000 (20:44 +0000)
src/indent.c

index 7a13dca9d332dfc97768e37de153dc2e829d459d..3ada091d45f50548c6c2847acd47e6097854aefe 100644 (file)
@@ -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;
        }