diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 488d7aa5b78..6baec1202ea 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1356,7 +1356,8 @@ print_check_string_charset_prop (interval, string) | |||
| 1356 | for (i = 0; i < LENGTH (interval); i++) | 1356 | for (i = 0; i < LENGTH (interval); i++) |
| 1357 | { | 1357 | { |
| 1358 | FETCH_STRING_CHAR_ADVANCE (c, string, charpos, bytepos); | 1358 | FETCH_STRING_CHAR_ADVANCE (c, string, charpos, bytepos); |
| 1359 | if (! EQ (CHARSET_NAME (CHAR_CHARSET (c)), charset)) | 1359 | if (! ASCII_CHAR_P (c) |
| 1360 | && ! EQ (CHARSET_NAME (CHAR_CHARSET (c)), charset)) | ||
| 1360 | { | 1361 | { |
| 1361 | print_check_string_result |= PRINT_STRING_UNSAFE_CHARSET_FOUND; | 1362 | print_check_string_result |= PRINT_STRING_UNSAFE_CHARSET_FOUND; |
| 1362 | break; | 1363 | break; |