diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-03-10 21:02:06 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-03-10 21:02:06 -0700 |
commit | cb0290dfa24e02a8b0967e5674e37e440c1b6e7e (patch) | |
tree | fd8ff5211af19832bd0f8c2a7ef5eaa520e940ad /src/insdel.c | |
parent | 25c09217a0bb2ef721419304d5922d05ae8fc26b (diff) |
* insdel.c (adjust_after_replace): Use bool for boolean.
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c index 992cebb04b..5e3f442753 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -1162,16 +1162,16 @@ insert_from_buffer_1 (struct buffer *buf, /* Record undo information and adjust markers and position keepers for a replacement of a text PREV_TEXT at FROM to a new text of LEN - chars (LEN_BYTE bytes). If TEXT_AT_GAP_TAIL is zero, the new text - resides in the gap just after GPT_BYTE. Otherwise, the text - resides at the gap tail; i.e. at (GAP_END_ADDR - LEN_BNYTE). + chars (LEN_BYTE bytes). If TEXT_AT_GAP_TAIL, the new text + resides at the gap tail; i.e. at (GAP_END_ADDR - LEN_BNYTE) + Otherwise, the text resides in the gap just after GPT_BYTE. PREV_TEXT nil means the new text was just inserted. */ void adjust_after_replace (ptrdiff_t from, ptrdiff_t from_byte, Lisp_Object prev_text, ptrdiff_t len, ptrdiff_t len_byte, - int text_at_gap_tail) + bool text_at_gap_tail) { ptrdiff_t nchars_del = 0, nbytes_del = 0; |