changeset 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 7f340c8b7900
children 6652216d5301
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
     }