changeset 89719:d91b7816539c

(print_check_string_charset_prop): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Sun, 18 Jan 2004 23:45:31 +0000
parents 75a2373c03cc
children 3a4e30359ac0
files src/print.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Sun Jan 18 23:30:38 2004 +0000
+++ b/src/print.c	Sun Jan 18 23:45:31 2004 +0000
@@ -1356,7 +1356,8 @@
       for (i = 0; i < LENGTH (interval); i++)
 	{
 	  FETCH_STRING_CHAR_ADVANCE (c, string, charpos, bytepos);
-	  if (! EQ (CHARSET_NAME (CHAR_CHARSET (c)), charset))
+	  if (! ASCII_CHAR_P (c)
+	      && ! EQ (CHARSET_NAME (CHAR_CHARSET (c)), charset))
 	    {
 	      print_check_string_result |= PRINT_STRING_UNSAFE_CHARSET_FOUND;
 	      break;