HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* insdel.c (insert_from_string_1): Use SDATA.
[bpt/emacs.git]
/
src
/
insdel.c
diff --git
a/src/insdel.c
b/src/insdel.c
index
9639adb
..
3b13df1
100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-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);