diff src/coding.c @ 93321:c3fe9ef79b56

(decode_coding_object): Fix last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Mar 2008 20:04:37 +0000
parents 212fa666680e
children 3b82aab9d8fc
line wrap: on
line diff
--- a/src/coding.c	Thu Mar 27 17:11:40 2008 +0000
+++ b/src/coding.c	Thu Mar 27 20:04:37 2008 +0000
@@ -7030,10 +7030,10 @@
       || (! NILP (CODING_ATTR_POST_READ (attrs))
 	  && NILP (dst_object)))
     {
-      coding->dst_object = code_conversion_save (1, 1);
+      coding->dst_multibyte = !CODING_FOR_UNIBYTE (coding);
+      coding->dst_object = code_conversion_save (1, coding->dst_multibyte);
       coding->dst_pos = BEG;
       coding->dst_pos_byte = BEG_BYTE;
-      coding->dst_multibyte = !CODING_FOR_UNIBYTE (coding);
     }
   else if (BUFFERP (dst_object))
     {