mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-06 09:06:54 +02:00
Corrected the return value of extSubsFunc2(), which was returning
value 1 after finding a substrate connecting type shielded (by deep nwell, in the example) from the substrate, thus preventing the search from processing any remaining substrate types. Solved by changing the return value to zero to keep the search going.
This commit is contained in:
+2
-1
@@ -3835,7 +3835,8 @@ extSubsFunc2(tile, arg)
|
||||
if (TTMaskIntersect(&DBPlaneTypes[pNum], smask))
|
||||
if (DBSrPaintArea((Tile *) NULL, arg->fra_def->cd_planes[pNum],
|
||||
&tileArea, smask, extSubsFunc3, (ClientData)NULL) != 0)
|
||||
return (1);
|
||||
/* Keep the search going, as there may be other tiles to check */
|
||||
return (0);
|
||||
|
||||
/* Run third search in the area of the tile on the substrate plane */
|
||||
/* to make sure that nothing but space is under these tiles. */
|
||||
|
||||
Reference in New Issue
Block a user