# HG changeset patch # User Andreas Schwab # Date 962022286 0 # Node ID 37a3b3eae862c2f7d60ce25ed36a8339b1c17283 # Parent 7f340c8b7900b2addb162d57426a851e03e2792c (decode_coding_string): Re-fetch STRING_BYTES after Fstring_as_unibyte. diff -r 7f340c8b7900 -r 37a3b3eae862 src/coding.c --- 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; }