changeset 89209:3903a3ae19cb

(general_insert_function): Check VAL by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Oct 2002 01:18:09 +0000
parents 1271680eca43
children 3a63b581b033
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Oct 15 01:17:51 2002 +0000
+++ b/src/editfns.c	Tue Oct 15 01:18:09 2002 +0000
@@ -1992,7 +1992,7 @@
 	    len = CHAR_STRING (XFASTINT (val), str);
 	  else
 	    {
-	      str[0] = (SINGLE_BYTE_CHAR_P (XINT (val))
+	      str[0] = (ASCII_CHAR_P (XINT (val))
 			? XINT (val)
 			: multibyte_char_to_unibyte (XINT (val), Qnil));
 	      len = 1;