From a1567c45444f4eecf007d8c95c49914aafce5202 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 27 Mar 2008 20:04:37 +0000 Subject: (decode_coding_object): Fix last change. --- src/ChangeLog | 4 ++++ src/coding.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c04ca11131..e38d093503 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-03-27 Stefan Monnier + + * coding.c (decode_coding_object): Fix last change. + 2008-03-27 Jason Rumney * w32fns.c (start_hourglass): Suppress hourglass on tty frames. diff --git a/src/coding.c b/src/coding.c index 6848fa674d..01a678e2ea 100644 --- a/src/coding.c +++ b/src/coding.c @@ -7030,10 +7030,10 @@ decode_coding_object (coding, src_object, from, from_byte, to, to_byte, || (! 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)) { -- cgit v1.2.3