Correction to the previous commit (didn't work as advertised).

This commit is contained in:
Tim Edwards 2021-04-27 14:53:34 -04:00
parent be19fda504
commit e403e92017
1 changed files with 4 additions and 1 deletions

View File

@ -1166,7 +1166,10 @@ calmaUniqueCell(sname)
int snum = 0;
h = HashLookOnly(&CifCellTable, sname);
if ((h == NULL) || HashGetValue(h) == 0) return;
/* Existing entry with zero value indicates that the existing */
/* cell came from the same GDS file, so don't change anything. */
if ((h != NULL) && HashGetValue(h) == 0) return;
def = DBCellLookDef(sname);
if (def == (CellDef *)NULL)