changeset 90327:fe3d40222417

(decode_coding): Fix the condition of terminating the decoding loop.
author Kenichi Handa <handa@m17n.org>
date Tue, 28 Feb 2006 11:05:39 +0000
parents 9dce7eee1abf
children 05b8b8dd212b
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Mon Feb 27 01:27:47 2006 +0000
+++ b/src/coding.c	Tue Feb 28 11:05:39 2006 +0000
@@ -6185,7 +6185,7 @@
 	  = coding->charbuf[coding->charbuf_used - carryover + i];
     }
   while (coding->consumed < coding->src_bytes
-	 && ! coding->result);
+	 && coding->result != CODING_RESULT_INSUFFICIENT_MEM);
 
   if (carryover > 0)
     {