changeset 29016:35074eb2a443

(print_object): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
author Kenichi Handa <handa@m17n.org>
date Sat, 20 May 2000 00:04:05 +0000
parents ec2827214bf3
children 8f10362eb5ff
files src/print.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Sat May 20 00:03:54 2000 +0000
+++ b/src/print.c	Sat May 20 00:04:05 2000 +0000
@@ -1434,12 +1434,7 @@
 	  {
 	    /* Here, we must convert each multi-byte form to the
 	       corresponding character code before handing it to PRINTCHAR.  */
-
-	    if (STRING_MULTIBYTE (name))
-	      FETCH_STRING_CHAR_ADVANCE (c, name, i, i_byte);
-	    else
-	      c = XSTRING (name)->data[i_byte++];
-
+	    FETCH_STRING_CHAR_ADVANCE (c, name, i, i_byte);
 	    QUIT;
 
 	    if (escapeflag)