Commit f7e233a8 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* insdel.c (insert_from_string_1): Use SDATA.

parent 08663750
......@@ -1111,7 +1111,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes,
outgoing_nbytes = nchars;
else if (! STRING_MULTIBYTE (string))
= count_size_as_multibyte (&SREF (string, pos_byte),
= count_size_as_multibyte (SDATA (string) + pos_byte,
GCPRO1 (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