Commit 0f8ea88f authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(general_insert_function): Check VAL by ASCII_CHAR_P,

not by SINGLE_BYTE_CHAR_P.
parent 93ba97b9
......@@ -1992,7 +1992,7 @@ general_insert_function (insert_func, insert_from_string_func,
len = CHAR_STRING (XFASTINT (val), str);
else
{
str[0] = (SINGLE_BYTE_CHAR_P (XINT (val))
str[0] = (ASCII_CHAR_P (XINT (val))
? XINT (val)
: multibyte_char_to_unibyte (XINT (val), Qnil));
len = 1;
......
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