From eba90784ce2bca76105770b44da0a60063e59f94 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 20 May 2000 00:04:05 +0000 Subject: [PATCH] (print_object): Use FETCH_STRING_CHAR_ADVANCE unconditionally. --- src/print.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/print.c b/src/print.c index 2379e9d4930..6f4a2105b6e 100644 --- a/src/print.c +++ b/src/print.c @@ -1434,12 +1434,7 @@ print_object (obj, printcharfun, escapeflag) { /* 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) -- 2.39.5