diff src/coding.c @ 29932:37a3b3eae862

(decode_coding_string): Re-fetch STRING_BYTES after Fstring_as_unibyte.
author Andreas Schwab <schwab@suse.de>
date Mon, 26 Jun 2000 12:24:46 +0000
parents 7b43e1fb478a
children c17e78d8c720
line wrap: on
line diff
--- a/src/coding.c	Mon Jun 26 12:16:10 2000 +0000
+++ b/src/coding.c	Mon Jun 26 12:24:46 2000 +0000
@@ -5217,6 +5217,7 @@
     {
       /* 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;
     }