From: Miles Bader Date: Sat, 25 Nov 2000 02:08:59 +0000 (+0000) Subject: (compute_motion): Keep pos_byte in sync with pos. X-Git-Tag: emacs-pretest-21.0.92~80 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bcfbd63d881c105047c955cd18b064ac1764a7e9;p=emacs.git (compute_motion): Keep pos_byte in sync with pos. --- diff --git a/src/indent.c b/src/indent.c index f5f44d93c40..2f0786c7878 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1171,6 +1171,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, if (newpos >= to) { pos = min (to, newpos); + pos_byte = CHAR_TO_BYTE (pos); goto after_loop; }