comparison 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
comparison
equal deleted inserted replaced
29931:7f340c8b7900 29932:37a3b3eae862
5215 5215
5216 if (STRING_MULTIBYTE (str)) 5216 if (STRING_MULTIBYTE (str))
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 }
5223 coding->dst_multibyte = 1; 5224 coding->dst_multibyte = 1;
5224 5225