diff options
author | Andreas Schwab <[email protected]> | 2000-06-26 12:24:46 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 2000-06-26 12:24:46 +0000 |
commit | 86af83a96940ae9db8a0e5c76ab7ac0888d14181 (patch) | |
tree | dac7bf72d9a2bd8f24115ce8fd03e6544111d6af /src/coding.c | |
parent | 0aa1e22444dd76556c25a77e1ad0755221a5bd10 (diff) |
(decode_coding_string): Re-fetch STRING_BYTES after
Fstring_as_unibyte.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index a90795d781..f2af9f5bf3 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; } |