Commit 86af83a9 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(decode_coding_string): Re-fetch STRING_BYTES after

Fstring_as_unibyte.
parent 0aa1e224
......@@ -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;
}
......
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