Corrected an error introduced with the extension of extraction methods

to multiple entries per device;  the resistor length and width calculating
routine lost a break statement and would go into an infinite loop for
resistors with bends in them.
This commit is contained in:
Tim Edwards 2019-11-13 14:29:19 -05:00
parent 3a6f868efc
commit 8e22b1504e
1 changed files with 2 additions and 1 deletions

View File

@ -2919,7 +2919,8 @@ extResistorTileFunc(tile, pNum)
extEnumTilePerim(tile, mask, pNum, extSpecialPerimFunc, (ClientData)FALSE);
if (extSpecialBounds[0] == NULL) devptr = devptr->exts_next;
if (extSpecialBounds[0] != NULL) break;
devptr = devptr->exts_next;
}
if (devptr != NULL) extTransRec.tr_devrec = devptr;