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

(Fstring_as_unibyte): Set size_byte field to -1.

parent 453fa987
......@@ -858,6 +858,7 @@ If STRING is unibyte, the result is STRING itself.")
{
string = Fcopy_sequence (string);
XSTRING (string)->size = STRING_BYTES (XSTRING (string));
SET_STRING_BYTES (XSTRING (string), -1);
}
return string;
}
......
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