Commit eba90784 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(print_object): Use FETCH_STRING_CHAR_ADVANCE

unconditionally.
parent 1426aa5c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment