Corrected an error when using the "instance" command with an instance
name. The instance search routine was not rejecting internal cells, and so would choose, e.g., a selection cell and reject it because it was not the edit cell.
This commit is contained in:
parent
63109229f4
commit
5f6ba3be69
|
|
@ -1307,7 +1307,7 @@ DBLockUse(UseName, bval)
|
|||
while( (entry = HashNext(&dbCellDefTable, &hs)) != NULL)
|
||||
{
|
||||
celldef = (CellDef *) HashGetValue(entry);
|
||||
if (celldef != (CellDef *) NULL)
|
||||
if ((celldef != (CellDef *)NULL) && !(celldef->cd_flags & CDINTERNAL))
|
||||
{
|
||||
celluse = celldef->cd_parents; /* only need one */
|
||||
if (celluse != (CellUse *)NULL) {
|
||||
|
|
@ -1386,7 +1386,7 @@ DBOrientUse(UseName, dodef)
|
|||
while( (entry = HashNext(&dbCellDefTable, &hs)) != NULL)
|
||||
{
|
||||
celldef = (CellDef *) HashGetValue(entry);
|
||||
if (celldef != (CellDef *) NULL)
|
||||
if ((celldef != (CellDef *)NULL) && !(celldef->cd_flags & CDINTERNAL))
|
||||
{
|
||||
celluse = celldef->cd_parents; /* only need one */
|
||||
if (celluse != (CellUse *)NULL) {
|
||||
|
|
@ -1549,7 +1549,7 @@ DBAbutmentUse(UseName, dolist)
|
|||
while( (entry = HashNext(&dbCellDefTable, &hs)) != NULL)
|
||||
{
|
||||
celldef = (CellDef *) HashGetValue(entry);
|
||||
if (celldef != (CellDef *) NULL)
|
||||
if ((celldef != (CellDef *)NULL) && !(celldef->cd_flags & CDINTERNAL))
|
||||
{
|
||||
celluse = celldef->cd_parents; /* only need one */
|
||||
if (celluse != (CellUse *)NULL) {
|
||||
|
|
@ -2519,7 +2519,7 @@ DBUnLinkCell(use, parentDef)
|
|||
* Side effects:
|
||||
* Fills in *pydef with a newly created CellDef by that name, and
|
||||
* *pyuse with a newly created CellUse pointing to the new def.
|
||||
* The CellDef pointed to by *pydef has the CD_INTERNAL flag
|
||||
* The CellDef pointed to by *pydef has the CDINTERNAL flag
|
||||
* set, and is marked as being available.
|
||||
*
|
||||
* ----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue