diff options
| author | Ken Raeburn | 2002-07-16 15:49:24 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-16 15:49:24 +0000 |
| commit | f7e233a87f360242f5e8687e2a664aaaf600afb5 (patch) | |
| tree | 2c120cc1e379a462b35921f5ad22522182d7f485 /src | |
| parent | 086637505722bcebdeadd690ba30a9028ba38d29 (diff) | |
| download | emacs-f7e233a87f360242f5e8687e2a664aaaf600afb5.tar.gz emacs-f7e233a87f360242f5e8687e2a664aaaf600afb5.zip | |
* insdel.c (insert_from_string_1): Use SDATA.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c index 9639adbf0fd..3b13df12c4a 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1111,7 +1111,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes, | |||
| 1111 | outgoing_nbytes = nchars; | 1111 | outgoing_nbytes = nchars; |
| 1112 | else if (! STRING_MULTIBYTE (string)) | 1112 | else if (! STRING_MULTIBYTE (string)) |
| 1113 | outgoing_nbytes | 1113 | outgoing_nbytes |
| 1114 | = count_size_as_multibyte (&SREF (string, pos_byte), | 1114 | = count_size_as_multibyte (SDATA (string) + pos_byte, |
| 1115 | nbytes); | 1115 | nbytes); |
| 1116 | 1116 | ||
| 1117 | GCPRO1 (string); | 1117 | GCPRO1 (string); |