Commit 93ba97b9 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Faset): Check NEWELT by ASCII_CHAR_P, not by

SINGLE_BYTE_CHAR_P.
parent da4109a9
......@@ -1955,7 +1955,7 @@ IDX starts at 0. */)
args_out_of_range (array, idx);
CHECK_NUMBER (newelt);
if (XINT (newelt) < 0 || SINGLE_BYTE_CHAR_P (XINT (newelt)))
if (XINT (newelt) < 0 || ASCII_CHAR_P (XINT (newelt)))
XSTRING (array)->data[idxval] = XINT (newelt);
else
{
......
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