From 86f7c1f2cf22f55952aeb81b3b40193efe2594ae Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Thu, 23 Dec 2021 16:31:34 -0500 Subject: [PATCH] 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. --- VERSION | 2 +- extract/ExtBasic.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 2bf7e4de..885da2ba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.243 +8.3.244 diff --git a/extract/ExtBasic.c b/extract/ExtBasic.c index 4ed10f7b..d70269c8 100644 --- a/extract/ExtBasic.c +++ b/extract/ExtBasic.c @@ -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. */