From ab28fff6c471812d8e5652de7178944d19bc6b60 Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 17 May 1999 09:42:39 +0000 Subject: [PATCH] (DECODE_HANDLE_END_OF_CONVERSION): fixed. --- src/file-coding.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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) -- 1.7.10.4