]> git.eshelyaron.com Git - emacs.git/commitdiff
(detect_coding_charset): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Mon, 9 Feb 2009 00:45:17 +0000 (00:45 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 9 Feb 2009 00:45:17 +0000 (00:45 +0000)
src/ChangeLog
src/coding.c

index 7c4cbf9f312b5e633246d7798ea71737f6b18fc2..3db96f64fca057c2c23693624b33f6c5bddfde24 100644 (file)
@@ -1,3 +1,7 @@
+2009-02-08  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
+
+       * coding.c (detect_coding_charset): Fix previous change.
+
 2009-02-08  Jason Rumney  <jasonr@gnu.org>
 
        * w32fns.c (w32_hide_hourglass): Handle case where frame
index 313fac1526d968661b4738f77ab2b680028d5443..f05cf841f5ab7e3ed9524e5827ada06447965d0a 100644 (file)
@@ -5101,7 +5101,7 @@ detect_coding_charset (coding, detect_info)
   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;