diff options
author | Kenichi Handa <handa@m17n.org> | 1999-09-03 01:28:42 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1999-09-03 01:28:42 +0000 |
commit | 239ab2bf683a5614a08c8b2262834d44d70de812 (patch) | |
tree | e7b20f8bc30bb44f25570609b1fc29c9e199bcdd /src/print.c | |
parent | 371f443732cc7714575ac1410b2bd9ed75631e12 (diff) | |
download | emacs-239ab2bf683a5614a08c8b2262834d44d70de812.tar.gz |
(print_string): Use the macro STRING_CHAR_AND_LENGTH.
(print): Likewise.
Diffstat (limited to 'src/print.c')
-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) /* Here, we must convert each multi-byte form to the corresponding character code before handing it to PRINTCHAR. */ int len; - int ch = STRING_CHAR_AND_CHAR_LENGTH (XSTRING (string)->data + i, - size_byte - i, len); + int ch = STRING_CHAR_AND_LENGTH (XSTRING (string)->data + i, + size_byte - i, len); if (!CHAR_VALID_P (ch, 0)) { ch = XSTRING (string)->data[i]; @@ -1141,8 +1141,8 @@ print (obj, printcharfun, escapeflag) if (STRING_MULTIBYTE (obj)) { - c = STRING_CHAR_AND_CHAR_LENGTH (str + i_byte, - size_byte - i_byte, len); + c = STRING_CHAR_AND_LENGTH (str + i_byte, + size_byte - i_byte, len); if (CHAR_VALID_P (c, 0)) i_byte += len; else |