changeset 89210:3a63b581b033

(concat): Check CH by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Oct 2002 01:18:25 +0000
parents 3903a3ae19cb
children 6fc3dc5bec6c
files src/fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Tue Oct 15 01:18:09 2002 +0000
+++ b/src/fns.c	Tue Oct 15 01:18:25 2002 +0000
@@ -585,7 +585,7 @@
 		  wrong_type_argument (Qcharacterp, ch);
 		this_len_byte = CHAR_BYTES (XINT (ch));
 		result_len_byte += this_len_byte;
-		if (!SINGLE_BYTE_CHAR_P (XINT (ch)))
+		if (!ASCII_CHAR_P (XINT (ch)))
 		  some_multibyte = 1;
 	      }
 	  else if (BOOL_VECTOR_P (this) && XBOOL_VECTOR (this)->size > 0)
@@ -598,7 +598,7 @@
 		  wrong_type_argument (Qcharacterp, ch);
 		this_len_byte = CHAR_BYTES (XINT (ch));
 		result_len_byte += this_len_byte;
-		if (!SINGLE_BYTE_CHAR_P (XINT (ch)))
+		if (!ASCII_CHAR_P (XINT (ch)))
 		  some_multibyte = 1;
 	      }
 	  else if (STRINGP (this))