diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c index ecd146808ed..39e450dc0ed 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -498,8 +498,8 @@ print_string (string, printcharfun) | |||
| 498 | /* Here, we must convert each multi-byte form to the | 498 | /* Here, we must convert each multi-byte form to the |
| 499 | corresponding character code before handing it to PRINTCHAR. */ | 499 | corresponding character code before handing it to PRINTCHAR. */ |
| 500 | int len; | 500 | int len; |
| 501 | int ch = STRING_CHAR_AND_CHAR_LENGTH (XSTRING (string)->data + i, | 501 | int ch = STRING_CHAR_AND_LENGTH (XSTRING (string)->data + i, |
| 502 | size_byte - i, len); | 502 | size_byte - i, len); |
| 503 | if (!CHAR_VALID_P (ch, 0)) | 503 | if (!CHAR_VALID_P (ch, 0)) |
| 504 | { | 504 | { |
| 505 | ch = XSTRING (string)->data[i]; | 505 | ch = XSTRING (string)->data[i]; |
| @@ -1141,8 +1141,8 @@ print (obj, printcharfun, escapeflag) | |||
| 1141 | 1141 | ||
| 1142 | if (STRING_MULTIBYTE (obj)) | 1142 | if (STRING_MULTIBYTE (obj)) |
| 1143 | { | 1143 | { |
| 1144 | c = STRING_CHAR_AND_CHAR_LENGTH (str + i_byte, | 1144 | c = STRING_CHAR_AND_LENGTH (str + i_byte, |
| 1145 | size_byte - i_byte, len); | 1145 | size_byte - i_byte, len); |
| 1146 | if (CHAR_VALID_P (c, 0)) | 1146 | if (CHAR_VALID_P (c, 0)) |
| 1147 | i_byte += len; | 1147 | i_byte += len; |
| 1148 | else | 1148 | else |