(decode_coding_string): Re-fetch STRING_BYTES after
Fstring_as_unibyte.
This commit is contained in:
parent
0aa1e22444
commit
86af83a969
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue