diff src/coding.c @ 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 c5406394f567
children f0338dbf2276
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)
     {