From cded56c19b30e038537398b5213438c339428ed9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Mar 2013 13:03:31 -0700 Subject: [PATCH] * coding.c (decode_coding_gap): Fix typo caught by static checking. --- src/ChangeLog | 4 ++++ src/coding.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 606a6bcb7f6..288996fffb2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-03-15 Paul Eggert + + * coding.c (decode_coding_gap): Fix typo caught by static checking. + 2013-03-15 handa * insdel.c (insert_from_gap): New arg text_at_gap_tail. diff --git a/src/coding.c b/src/coding.c index 5047e1149bc..6cfcec905a1 100644 --- a/src/coding.c +++ b/src/coding.c @@ -7632,7 +7632,7 @@ decode_coding_gap (struct coding_system *coding, if (coding->eol_seen == EOL_SEEN_CR) { unsigned char *src_end = GAP_END_ADDR; - unsigned char *src = src - coding->src_bytes; + unsigned char *src = src_end - coding->src_bytes; while (src < src_end) { -- 2.39.2