changeset 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 2d60db160129
children 3b82aab9d8fc
files src/ChangeLog src/coding.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Mar 27 17:11:40 2008 +0000
+++ b/src/ChangeLog	Thu Mar 27 20:04:37 2008 +0000
@@ -1,3 +1,7 @@
+2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* coding.c (decode_coding_object): Fix last change.
+
 2008-03-27  Jason Rumney  <jasonr@gnu.org>
 
 	* w32fns.c (start_hourglass): Suppress hourglass on tty frames.
--- 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))
     {