diff src/coding.c @ 32896:3d8fb019040f

(decode_coding): Fix previous change (check also CODING_MODE_LAST_BLOCK).
author Kenichi Handa <handa@m17n.org>
date Thu, 26 Oct 2000 01:22:29 +0000
parents 9502d0a5b2ad
children ef38af5ee8d2
line wrap: on
line diff
--- a/src/coding.c	Thu Oct 26 01:22:14 2000 +0000
+++ b/src/coding.c	Thu Oct 26 01:22:29 2000 +0000
@@ -4223,6 +4223,7 @@
     }
 
   if (coding->result == CODING_FINISH_INSUFFICIENT_SRC
+      && coding->mode & CODING_MODE_LAST_BLOCK
       && coding->consumed == src_bytes)
     coding->result = CODING_FINISH_NORMAL;