From 86af83a96940ae9db8a0e5c76ab7ac0888d14181 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 26 Jun 2000 12:24:46 +0000 Subject: [PATCH] (decode_coding_string): Re-fetch STRING_BYTES after Fstring_as_unibyte. --- src/coding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coding.c b/src/coding.c index a90795d781b..f2af9f5bf35 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5217,6 +5217,7 @@ decode_coding_string (str, coding, nocopy) { /* Decoding routines expect the source text to be unibyte. */ str = Fstring_as_unibyte (str); + to_byte = STRING_BYTES (XSTRING (str)); nocopy = 1; coding->src_multibyte = 0; } -- 2.39.2