changeset 33871:69c9cd380fd2

(compute_motion): Keep pos_byte in sync with pos.
author Miles Bader <miles@gnu.org>
date Sat, 25 Nov 2000 02:08:59 +0000
parents 8816b5542315
children d65847dea2c0
files src/indent.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Fri Nov 24 21:31:14 2000 +0000
+++ b/src/indent.c	Sat Nov 25 02:08:59 2000 +0000
@@ -1171,6 +1171,7 @@
 	  if (newpos >= to)
 	    {
 	      pos = min (to, newpos);
+	      pos_byte = CHAR_TO_BYTE (pos);
 	      goto after_loop;
 	    }