mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-06 09:06:54 +02:00
Corrected a potential problem with the substrate finding search,
which can be given an invalid area for the search.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user