changeset 90312:3f91dac9b552

(map_charset_chars): Fix for ascii-compatible charset made by a mapping table.
author Kenichi Handa <handa@m17n.org>
date Wed, 22 Feb 2006 06:51:02 +0000
parents 339a4ce90774
children 496f6d9b9d20
files src/charset.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Tue Feb 21 11:47:12 2006 +0000
+++ b/src/charset.c	Wed Feb 22 06:51:02 2006 +0000
@@ -592,17 +592,6 @@
     {
       if (! CHAR_TABLE_P (CHARSET_ENCODER (charset)))
 	return;
-      if (CHARSET_ASCII_COMPATIBLE_P (charset) && from <= 127)
-	{
-	  range = Fcons (make_number (from), make_number (to));
-	  if (to >= 128)
-	    XSETCAR (range, make_number (127));
-
-	  if (NILP (function))
-	    (*c_function) (arg, range);
-	  else
-	    call2 (function, range, arg);
-	}
       map_char_table_for_charset (c_function, function,
 				  CHARSET_ENCODER (charset), arg,
 				  partial ? charset : NULL, from, to);