Corrected a potential problem with the substrate finding search,

which can be given an invalid area for the search.
This commit is contained in:
Tim Edwards 2019-02-18 10:01:17 -05:00
parent 834a4504de
commit 677692e59f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}