Commit 7a2e5600 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* fns.c (Fstring_as_multibyte): Use STRING_SET_INTERVALS.

parent ab77f05c
......@@ -1135,7 +1135,7 @@ multibyte character of charset `eight-bit-control' or `eight-bit-graphic'. */)
str_as_multibyte (SDATA (new_string), nbytes,
SBYTES (string), NULL);
string = new_string;
STRING_INTERVALS (string) = NULL_INTERVAL;
STRING_SET_INTERVALS (string, NULL_INTERVAL);
}
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