diff src/coding.c @ 89976:0217b5bc6404

(detect_coding): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Tue, 14 Sep 2004 07:55:26 +0000
parents 2fef8edebd5c
children 26cef35a1562
line wrap: on
line diff
--- a/src/coding.c	Mon Sep 13 00:41:40 2004 +0000
+++ b/src/coding.c	Tue Sep 14 07:55:26 2004 +0000
@@ -5427,7 +5427,7 @@
 	}
       coding->head_ascii = src - (coding->source + coding->consumed);
 
-      if (coding->head_ascii == coding->src_bytes
+      if (coding->head_ascii < coding->src_bytes
 	  || detect_info.found)
 	{
 	  enum coding_category category;