# HG changeset patch # User Kenichi Handa # Date 892516004 0 # Node ID 388b7c77183b7ea411df174cfd99b6601d68b800 # Parent c8c409640bf3c28d18e902a3ac4c0280192ff9e6 (code_convert_string): Give decode_coding correct byte length of source text. diff -r c8c409640bf3 -r 388b7c77183b src/coding.c --- a/src/coding.c Tue Apr 14 00:02:53 1998 +0000 +++ b/src/coding.c Tue Apr 14 01:06:44 1998 +0000 @@ -4388,7 +4388,7 @@ ? encode_coding (coding, XSTRING (str)->data + from, buf + from, to_byte - from, len) : decode_coding (coding, XSTRING (str)->data + from, - buf + from, to - from, len)); + buf + from, to_byte - from, len)); if (! encodep && result == CODING_FINISH_INCONSISTENT_EOL) { /* We simple try to decode the whole string again but without