mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
* insdel.c (insert_from_string_1): Use SDATA.
This commit is contained in:
parent
0866375057
commit
f7e233a87f
1 changed files with 1 additions and 1 deletions
|
|
@ -1111,7 +1111,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes,
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue