1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 12:20:17 -08:00

(detect_coding_charset): Fix previous change.

This commit is contained in:
Kenichi Handa 2009-02-09 00:45:17 +00:00
parent 5e5adbc975
commit cb84a2bed1
2 changed files with 5 additions and 1 deletions

View 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;