Mercurial > emacs
changeset 54230:256374267423
(draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set.
(update_window_fringes): Remove unused code.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 01 Mar 2004 23:56:44 +0000 |
parents | 87fa8d221274 |
children | c3d0594f43ec |
files | src/fringe.c |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fringe.c Mon Mar 01 23:56:30 2004 +0000 +++ b/src/fringe.c Mon Mar 01 23:56:44 2004 +0000 @@ -636,7 +636,10 @@ draw_fringe_bitmap_1 (w, row, left_p, overlay, NO_FRINGE_BITMAP); if (left_p && row->overlay_arrow_p) - draw_fringe_bitmap_1 (w, row, 1, 1, OVERLAY_ARROW_BITMAP); + draw_fringe_bitmap_1 (w, row, 1, 1, + (w->overlay_arrow_bitmap + ? w->overlay_arrow_bitmap + : OVERLAY_ARROW_BITMAP)); } @@ -799,10 +802,6 @@ left = row->left_user_fringe_bitmap; left_face_id = row->left_user_fringe_face_id; } -#if 0 /* this is now done via an overlay */ - else if (row->overlay_arrow_p) - left = OVERLAY_ARROW_BITMAP; -#endif else if (row->indicate_bob_p && boundary_pos <= 0) left = ((row->indicate_eob_p && boundary_pos < 0) ? LEFT_BRACKET_BITMAP : TOP_LEFT_ANGLE_BITMAP);