1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(decode_coding_object): Fix last change.

This commit is contained in:
Stefan Monnier 2008-03-27 20:04:37 +00:00
parent 30076589d3
commit a1567c4544
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2008-03-27 Jason Rumney <jasonr@gnu.org>
* w32fns.c (start_hourglass): Suppress hourglass on tty frames. * w32fns.c (start_hourglass): Suppress hourglass on tty frames.

View File

@ -7030,10 +7030,10 @@ decode_coding_object (coding, src_object, from, from_byte, to, to_byte,
|| (! NILP (CODING_ATTR_POST_READ (attrs)) || (! NILP (CODING_ATTR_POST_READ (attrs))
&& NILP (dst_object))) && 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 = BEG;
coding->dst_pos_byte = BEG_BYTE; coding->dst_pos_byte = BEG_BYTE;
coding->dst_multibyte = !CODING_FOR_UNIBYTE (coding);
} }
else if (BUFFERP (dst_object)) else if (BUFFERP (dst_object))
{ {