aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-03-15 13:03:31 -0700
committerPaul Eggert2013-03-15 13:03:31 -0700
commitcded56c19b30e038537398b5213438c339428ed9 (patch)
tree0b89082a94cad31f1f6f92f0f9de7e4350a7c5fa /src
parent5a96718d7947eb32724581f4c08ad37674ae233c (diff)
downloademacs-cded56c19b30e038537398b5213438c339428ed9.tar.gz
emacs-cded56c19b30e038537398b5213438c339428ed9.zip
* coding.c (decode_coding_gap): Fix typo caught by static checking.
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 {