changeset 26240:93f3d2337323

(code_convert_region): Update `dst' correctly.
author Kenichi Handa <handa@m17n.org>
date Fri, 29 Oct 1999 00:45:38 +0000
parents 62de8a433d0e
children c3bf3747f8ae
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Thu Oct 28 21:44:45 1999 +0000
+++ b/src/coding.c	Fri Oct 29 00:45:38 1999 +0000
@@ -4496,7 +4496,7 @@
       inserted_byte += coding->produced;
       len_byte -= coding->consumed;
       src += coding->consumed;
-      dst += inserted_byte;
+      dst += coding->produced;
 
       if (result == CODING_FINISH_NORMAL)
 	{