From: Kenichi Handa Date: Tue, 14 Apr 1998 01:06:44 +0000 (+0000) Subject: (code_convert_string): Give decode_coding correct byte X-Git-Tag: emacs-20.3~1573 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f30cc6122e343fe6a9afbda2e2230da87fc7c5a0;p=emacs.git (code_convert_string): Give decode_coding correct byte length of source text. --- diff --git a/src/coding.c b/src/coding.c index 0152b327295..e94cee5e2de 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4388,7 +4388,7 @@ code_convert_string (str, coding, encodep, nocopy) ? 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