* coding.c (decode_coding_gap): Fix typo caught by static checking.

This commit is contained in:
Paul Eggert 2013-03-15 13:03:31 -07:00
parent 5a96718d79
commit cded56c19b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-03-15 Paul Eggert <eggert@cs.ucla.edu>
* coding.c (decode_coding_gap): Fix typo caught by static checking.
2013-03-15 handa <handa@gnu.org>
* insdel.c (insert_from_gap): New arg text_at_gap_tail.

View file

@ -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)
{