aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-10-27 15:03:53 +0000
committerChong Yidong2005-10-27 15:03:53 +0000
commitf351b58b73be8c719a34372204be7f7825f0a00a (patch)
tree60eaa852cd3d97f85e9b651fc9233b2eff0dbe75
parentcc795ef0bb39aed18248547b1f4a27cbb8e0eadb (diff)
downloademacs-f351b58b73be8c719a34372204be7f7825f0a00a.tar.gz
emacs-f351b58b73be8c719a34372204be7f7825f0a00a.zip
* fringe.c (update_window_fringes): Handle case where buffer ends
with a newline.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/fringe.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 297a23fe780..4f0e4c0d9e1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12005-10-27 Chong Yidong <cyd@stupidchicken.com>
2
3 * fringe.c (update_window_fringes): Handle case where buffer ends
4 with a newline.
5
12005-10-27 Kenichi Handa <handa@m17n.org> 62005-10-27 Kenichi Handa <handa@m17n.org>
2 7
3 * coding.h (DECODE_SYSTEM): Fix argument name; name->str. 8 * coding.h (DECODE_SYSTEM): Fix argument name; name->str.
diff --git a/src/fringe.c b/src/fringe.c
index 754ee68ca56..5513c3374c3 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -860,7 +860,7 @@ update_window_fringes (w, keep_current_p)
860 860
861 if (!done_bot) 861 if (!done_bot)
862 { 862 {
863 if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)) 863 if (row->ends_at_zv_p
864 && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P (w, row)) 864 && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P (w, row))
865 row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; 865 row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1;
866 else if (y + row->height >= yb) 866 else if (y + row->height >= yb)