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 @@ so some key presses (TAB) are swallowed by the system. */
|
||||||
/* Work out the rectangle we will need to clear. Because we're
|
/* Work out the rectangle we will need to clear. Because we're
|
||||||
compositing rather than blitting, we need to clear the area under
|
compositing rather than blitting, we need to clear the area under
|
||||||
the image regardless of anything else. */
|
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 = NSMakeRect (p->bx, p->by, p->nx, p->ny);
|
||||||
clearRect = NSUnionRect (clearRect, imageRect);
|
clearRect = NSUnionRect (clearRect, imageRect);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue