mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
Modified possibly incorrect use of DBSrCellDefs in extresist to
ignore internal cells (select, yank, etc.).
This commit is contained in:
@@ -575,6 +575,9 @@ resSubcircuitFunc(cellDef, rdata)
|
||||
CellDef *cellDef;
|
||||
ResisData *rdata;
|
||||
{
|
||||
if ((cellDef->cd_flags & CDINTERNAL) == CDINTERNAL)
|
||||
return 0;
|
||||
|
||||
if (cellDef != rdata->mainDef)
|
||||
if (DBIsSubcircuit(cellDef))
|
||||
ExtResisForDef(cellDef, rdata);
|
||||
|
||||
Reference in New Issue
Block a user