]> git.eshelyaron.com Git - emacs.git/commitdiff
(print_check_string_charset_prop): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Sun, 18 Jan 2004 23:45:31 +0000 (23:45 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 18 Jan 2004 23:45:31 +0000 (23:45 +0000)
src/print.c

index 488d7aa5b78ad698d6c66dfab5fee7e0680ee815..6baec1202eae3788bbec938d6e5e177befb44a1a 100644 (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;