From: Kenichi Handa Date: Fri, 29 Oct 1999 00:46:20 +0000 (+0000) Subject: (code_convert_region): Update `dst' correctly. X-Git-Tag: emacs-pretest-21.0.90~6258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3636f7a323c106b4bc832b94eb3dc59d81210d79;p=emacs.git (code_convert_region): Update `dst' correctly. --- diff --git a/src/ChangeLog b/src/ChangeLog index 350307c3e6b..234d50b4dd9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +1999-10-29 Kenichi Handa + + * coding.c (code_convert_region): Update `dst' correctly. + 1999-10-28 Richard M. Stallman * regex.c (POP_FAILURE_POINT): Use failure_id.integer diff --git a/src/coding.c b/src/coding.c index 1e75be5ab6f..c5dfd2102d0 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4496,7 +4496,7 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace) inserted_byte += coding->produced; len_byte -= coding->consumed; src += coding->consumed; - dst += inserted_byte; + dst += coding->produced; if (result == CODING_FINISH_NORMAL) {