changeset 25502:4a69654961a6

(print_string): Use the macro STRING_CHAR_AND_LENGTH. (print): Likewise.
author Kenichi Handa <handa@m17n.org>
date Fri, 03 Sep 1999 01:28:42 +0000
parents 9392c9b7dd07
children bbb032f48e20
files src/print.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Fri Sep 03 01:28:42 1999 +0000
+++ b/src/print.c	Fri Sep 03 01:28:42 1999 +0000
@@ -498,8 +498,8 @@
 	    /* 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 @@
 
 	      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