]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_coding_string): Re-fetch STRING_BYTES after
authorAndreas Schwab <schwab@suse.de>
Mon, 26 Jun 2000 12:24:46 +0000 (12:24 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 26 Jun 2000 12:24:46 +0000 (12:24 +0000)
Fstring_as_unibyte.

src/coding.c

index a90795d781b11ed0d157bbc01122be108fb21019..f2af9f5bf351c435a2fe05b05a625983b895c275 100644 (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;
     }