Corrected a potential problem with the substrate finding search,
which can be given an invalid area for the search.
This commit is contained in:
parent
834a4504de
commit
677692e59f
|
|
@ -233,8 +233,9 @@ extSubtree(parentUse, reg, f)
|
|||
/* even if there were no other interactions found. */
|
||||
SearchContext scx;
|
||||
|
||||
GEOCLIP(&ha.ha_clipArea, &r);
|
||||
scx.scx_trans = GeoIdentityTransform;
|
||||
scx.scx_area = ha.ha_interArea;
|
||||
scx.scx_area = r;
|
||||
scx.scx_use = ha.ha_parentUse;
|
||||
DBCellSrArea(&scx, extSubstrateFunc, (ClientData)&ha);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue