]> git.eshelyaron.com Git - emacs.git/commitdiff
(code_convert_region): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Wed, 4 Mar 1998 08:05:14 +0000 (08:05 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 4 Mar 1998 08:05:14 +0000 (08:05 +0000)
src/coding.c

index bf5677b8a439d98d564bf89e53db810c4743b00f..6376a4f8d6d3d781c55394bb32a16bd4a971ec8e 100644 (file)
@@ -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.  */