diff options
| author | Kenichi Handa | 1998-03-04 08:05:14 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-03-04 08:05:14 +0000 |
| commit | 7cf8c582dda63ca3a238dee85f240dc0623229e8 (patch) | |
| tree | 28a625fab9e14116b36328016ee205bc266ff362 /src/coding.c | |
| parent | 8b52e892668a30330140f485071b7ffba14d13aa (diff) | |
| download | emacs-7cf8c582dda63ca3a238dee85f240dc0623229e8.tar.gz emacs-7cf8c582dda63ca3a238dee85f240dc0623229e8.zip | |
(code_convert_region): Fix previous change.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index bf5677b8a43..6376a4f8d6d 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4258,9 +4258,9 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, adjust) | |||
| 4258 | that, we increase byte positions of position keepers | 4258 | that, we increase byte positions of position keepers |
| 4259 | whose char positions are GPT. */ | 4259 | whose char positions are GPT. */ |
| 4260 | int byte_increase; | 4260 | int byte_increase; |
| 4261 | p1 = GPT_ADDR + 2, pmax = p0 + 1 + inserted_byte; | ||
| 4262 | Lisp_Object tail; | 4261 | Lisp_Object tail; |
| 4263 | 4262 | ||
| 4263 | p1 = GPT_ADDR + 2, pmax = p0 + 1 + inserted_byte; | ||
| 4264 | while (! CHAR_HEAD_P (*p1) && p1 < pmax) p1++; | 4264 | while (! CHAR_HEAD_P (*p1) && p1 < pmax) p1++; |
| 4265 | /* Now, codes from P0 to P1 constitute a single | 4265 | /* Now, codes from P0 to P1 constitute a single |
| 4266 | multibyte character. */ | 4266 | multibyte character. */ |