(decode_coding_string): Re-fetch STRING_BYTES after

Fstring_as_unibyte.
This commit is contained in:
Andreas Schwab 2000-06-26 12:24:46 +00:00
parent 0aa1e22444
commit 86af83a969

View file

@ -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;
}