[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)
|
||||
{
|
||||
extents.intersect (o.extents);
|
||||
if (extents.xmin >= extents.xmax ||
|
||||
extents.ymin >= extents.ymax)
|
||||
if (extents.is_empty ())
|
||||
status = EMPTY;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue