changeset 89976:0217b5bc6404

(detect_coding): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Tue, 14 Sep 2004 07:55:26 +0000
parents 84389b8b8802
children 549fdd6f6856
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;