From f30cc6122e343fe6a9afbda2e2230da87fc7c5a0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 14 Apr 1998 01:06:44 +0000 Subject: [PATCH] (code_convert_string): Give decode_coding correct byte length of source text. --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2