(print_check_string_charset_prop): Fix previous change.

This commit is contained in:
Kenichi Handa 2004-01-18 23:45:31 +00:00
parent dedbd91c48
commit c80bcdbc47

View file

@ -1356,7 +1356,8 @@ print_check_string_charset_prop (interval, string)
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;