diff options
Diffstat (limited to 'src/fringe.c')
| -rw-r--r-- | src/fringe.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fringe.c b/src/fringe.c index 97d03a2bfae..6e6deeddb08 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -18,7 +18,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 18 | 18 | ||
| 19 | #include <config.h> | 19 | #include <config.h> |
| 20 | #include <stdio.h> | 20 | #include <stdio.h> |
| 21 | #include <setjmp.h> | ||
| 22 | 21 | ||
| 23 | #include "lisp.h" | 22 | #include "lisp.h" |
| 24 | #include "frame.h" | 23 | #include "frame.h" |
| @@ -659,7 +658,14 @@ draw_fringe_bitmap_1 (struct window *w, struct glyph_row *row, int left_p, int o | |||
| 659 | { | 658 | { |
| 660 | /* If W has a vertical border to its left, don't draw over it. */ | 659 | /* If W has a vertical border to its left, don't draw over it. */ |
| 661 | wd -= ((!WINDOW_LEFTMOST_P (w) | 660 | wd -= ((!WINDOW_LEFTMOST_P (w) |
| 662 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w)) | 661 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w) |
| 662 | /* But don't reduce the fringe width if the window | ||
| 663 | has a left margin, because that means we are not | ||
| 664 | in danger of drawing over the vertical border, | ||
| 665 | and OTOH leaving out that one pixel leaves behind | ||
| 666 | traces of the cursor, if it was in column zero | ||
| 667 | before drawing non-empty margin area. */ | ||
| 668 | && NILP (w->left_margin_cols)) | ||
| 663 | ? 1 : 0); | 669 | ? 1 : 0); |
| 664 | p.bx = x - wd; | 670 | p.bx = x - wd; |
| 665 | p.nx = wd; | 671 | p.nx = wd; |