diff options
| author | Kenichi Handa | 2003-01-06 01:17:47 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-01-06 01:17:47 +0000 |
| commit | 0989baabc75d53c07acd337cd6e8ff5ec1d70c41 (patch) | |
| tree | 9dcc01788763ff76ba95749f427a304c46d38e91 /src | |
| parent | dcda246bb99ffb8f0a7773bfcebe90aa193573df (diff) | |
| download | emacs-0989baabc75d53c07acd337cd6e8ff5ec1d70c41.tar.gz emacs-0989baabc75d53c07acd337cd6e8ff5ec1d70c41.zip | |
(insert_from_gap): Fix argument to offset_intervals.
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 7bae3020d3a..3cd9da7e2c8 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1068,7 +1068,7 @@ insert_from_gap (nchars, nbytes) | |||
| 1068 | 0); | 1068 | 0); |
| 1069 | 1069 | ||
| 1070 | if (BUF_INTERVALS (current_buffer) != 0) | 1070 | if (BUF_INTERVALS (current_buffer) != 0) |
| 1071 | offset_intervals (current_buffer, PT, nchars); | 1071 | offset_intervals (current_buffer, GPT, nchars); |
| 1072 | 1072 | ||
| 1073 | if (GPT - nchars < PT) | 1073 | if (GPT - nchars < PT) |
| 1074 | adjust_point (nchars, nbytes); | 1074 | adjust_point (nchars, nbytes); |