summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
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)
{