aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/coding.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 606a6bcb7f6..288996fffb2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12013-03-15 Paul Eggert <eggert@cs.ucla.edu>
2
3 * coding.c (decode_coding_gap): Fix typo caught by static checking.
4
12013-03-15 handa <handa@gnu.org> 52013-03-15 handa <handa@gnu.org>
2 6
3 * insdel.c (insert_from_gap): New arg text_at_gap_tail. 7 * 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,
7632 if (coding->eol_seen == EOL_SEEN_CR) 7632 if (coding->eol_seen == EOL_SEEN_CR)
7633 { 7633 {
7634 unsigned char *src_end = GAP_END_ADDR; 7634 unsigned char *src_end = GAP_END_ADDR;
7635 unsigned char *src = src - coding->src_bytes; 7635 unsigned char *src = src_end - coding->src_bytes;
7636 7636
7637 while (src < src_end) 7637 while (src < src_end)
7638 { 7638 {