aboutsummaryrefslogtreecommitdiffstats
path: root/src/fringe.c
diff options
context:
space:
mode:
authorChong Yidong2005-10-27 15:03:53 +0000
committerChong Yidong2005-10-27 15:03:53 +0000
commitf351b58b73be8c719a34372204be7f7825f0a00a (patch)
tree60eaa852cd3d97f85e9b651fc9233b2eff0dbe75 /src/fringe.c
parentcc795ef0bb39aed18248547b1f4a27cbb8e0eadb (diff)
downloademacs-f351b58b73be8c719a34372204be7f7825f0a00a.tar.gz
emacs-f351b58b73be8c719a34372204be7f7825f0a00a.zip
* fringe.c (update_window_fringes): Handle case where buffer ends
with a newline.
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c2
1 files changed, 1 insertions, 1 deletions
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)