aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2000-06-26 12:24:46 +0000
committerAndreas Schwab2000-06-26 12:24:46 +0000
commit86af83a96940ae9db8a0e5c76ab7ac0888d14181 (patch)
treedac7bf72d9a2bd8f24115ce8fd03e6544111d6af /src
parent0aa1e22444dd76556c25a77e1ad0755221a5bd10 (diff)
downloademacs-86af83a96940ae9db8a0e5c76ab7ac0888d14181.tar.gz
emacs-86af83a96940ae9db8a0e5c76ab7ac0888d14181.zip
(decode_coding_string): Re-fetch STRING_BYTES after
Fstring_as_unibyte.
Diffstat (limited to 'src')
-rw-r--r--src/coding.c1
1 files changed, 1 insertions, 0 deletions
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)
5217 { 5217 {
5218 /* Decoding routines expect the source text to be unibyte. */ 5218 /* Decoding routines expect the source text to be unibyte. */
5219 str = Fstring_as_unibyte (str); 5219 str = Fstring_as_unibyte (str);
5220 to_byte = STRING_BYTES (XSTRING (str));
5220 nocopy = 1; 5221 nocopy = 1;
5221 coding->src_multibyte = 0; 5222 coding->src_multibyte = 0;
5222 } 5223 }