From: tomo Date: Mon, 17 May 1999 09:42:39 +0000 (+0000) Subject: (DECODE_HANDLE_END_OF_CONVERSION): fixed. X-Git-Tag: r21-2-13-sjis-big5~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ab28fff6c471812d8e5652de7178944d19bc6b60;p=chise%2Fxemacs-chise.git.1 (DECODE_HANDLE_END_OF_CONVERSION): fixed. --- diff --git a/src/file-coding.c b/src/file-coding.c index ee0da8d..414751b 100644 --- a/src/file-coding.c +++ b/src/file-coding.c @@ -1718,10 +1718,12 @@ do { \ #define DECODE_HANDLE_END_OF_CONVERSION(flags, ch, dst) \ do { \ - DECODE_OUTPUT_PARTIAL_CHAR (ch); \ - if ((flags & CODING_STATE_END) && \ - (flags & CODING_STATE_CR)) \ - Dynarr_add (dst, '\r'); \ + if (flags & CODING_STATE_END) \ + { \ + DECODE_OUTPUT_PARTIAL_CHAR (ch); \ + if (flags & CODING_STATE_CR) \ + Dynarr_add (dst, '\r'); \ + } \ } while (0) #define DECODING_STREAM_DATA(stream) LSTREAM_TYPE_DATA (stream, decoding)