Commit 3636f7a3 authored by Kenichi Handa's avatar Kenichi Handa

(code_convert_region): Update `dst' correctly.

parent d699a7ad
No preview for this file type
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment