From: Paul Eggert Date: Fri, 15 Mar 2013 20:03:31 +0000 (-0700) Subject: * coding.c (decode_coding_gap): Fix typo caught by static checking. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~566 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cded56c19b30e038537398b5213438c339428ed9;p=emacs.git * coding.c (decode_coding_gap): Fix typo caught by static checking. --- 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) {