From: Kenichi Handa Date: Wed, 4 Mar 1998 08:05:14 +0000 (+0000) Subject: (code_convert_region): Fix previous change. X-Git-Tag: emacs-20.3~2007 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cf8c582dda63ca3a238dee85f240dc0623229e8;p=emacs.git (code_convert_region): Fix previous change. --- diff --git a/src/coding.c b/src/coding.c index bf5677b8a43..6376a4f8d6d 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4258,9 +4258,9 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, adjust) that, we increase byte positions of position keepers whose char positions are GPT. */ int byte_increase; - p1 = GPT_ADDR + 2, pmax = p0 + 1 + inserted_byte; Lisp_Object tail; + p1 = GPT_ADDR + 2, pmax = p0 + 1 + inserted_byte; while (! CHAR_HEAD_P (*p1) && p1 < pmax) p1++; /* Now, codes from P0 to P1 constitute a single multibyte character. */