mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
Fix NS fringe bitmap drawing bug (bug#33864)
* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear correctly.
This commit is contained in:
parent
0c524597b3
commit
a731c563a1
1 changed files with 1 additions and 1 deletions
|
|
@ -2919,7 +2919,7 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row,
|
|||
/* Work out the rectangle we will need to clear. Because we're
|
||||
compositing rather than blitting, we need to clear the area under
|
||||
the image regardless of anything else. */
|
||||
if (!p->overlay_p)
|
||||
if (p->bx >= 0 && !p->overlay_p)
|
||||
{
|
||||
clearRect = NSMakeRect (p->bx, p->by, p->nx, p->ny);
|
||||
clearRect = NSUnionRect (clearRect, imageRect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue