changeset 101904:4c1349cf5b50

(detect_coding_charset): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Mon, 09 Feb 2009 00:42:37 +0000
parents 261577aa5d33
children 48acf0119c38
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sun Feb 08 16:44:57 2009 +0000
+++ b/src/coding.c	Mon Feb 09 00:42:37 2009 +0000
@@ -5101,7 +5101,7 @@
   valids = AREF (attrs, coding_attr_charset_valids);
   name = CODING_ID_NAME (coding->id);
   if (VECTORP (Vlatin_extra_code_table)
-      && strcmp ((char *) SDATA (SYMBOL_NAME (name)), "iso-8859-"))
+      && strcmp ((char *) SDATA (SYMBOL_NAME (name)), "iso-8859-") == 0)
     check_latin_extra = 1;
   if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs)))
     src += head_ascii;