[paint-extents] Minor refactor
This commit is contained in:
parent
f8bf98798d
commit
988ca459f3
|
@ -172,8 +172,7 @@ typedef struct hb_bounds_t
|
||||||
else if (status == BOUNDED)
|
else if (status == BOUNDED)
|
||||||
{
|
{
|
||||||
extents.intersect (o.extents);
|
extents.intersect (o.extents);
|
||||||
if (extents.xmin >= extents.xmax ||
|
if (extents.is_empty ())
|
||||||
extents.ymin >= extents.ymax)
|
|
||||||
status = EMPTY;
|
status = EMPTY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue