# HG changeset patch # User Ken Raeburn # Date 1026834564 0 # Node ID d7f3f0434d433645963f4455010fde6ad820ac7a # Parent 2e674544b19aaac0da0d425f5e4bdfe6253725ad * insdel.c (insert_from_string_1): Use SDATA. diff -r 2e674544b19a -r d7f3f0434d43 src/insdel.c --- a/src/insdel.c Tue Jul 16 15:49:20 2002 +0000 +++ b/src/insdel.c Tue Jul 16 15:49:24 2002 +0000 @@ -1111,7 +1111,7 @@ outgoing_nbytes = nchars; else if (! STRING_MULTIBYTE (string)) outgoing_nbytes - = count_size_as_multibyte (&SREF (string, pos_byte), + = count_size_as_multibyte (SDATA (string) + pos_byte, nbytes); GCPRO1 (string);