Corrected another error related to read-only views in which magic crashes when

attempting to place a generated cell in the layout, as pointed out by Mark Martin
in github Issue #309.
This commit is contained in:
Tim Edwards
2024-05-24 12:43:36 -04:00
parent 291ba96285
commit cf5fd867f4
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1121,11 +1121,13 @@ DBUsePrint(CellName, who, dolist)
celldef = DBCellLookDef(CellName);
*lasthier = '/';
}
else
else if (EditCellUse != NULL)
{
/* Referenced cellDef is the current edit def */
celldef = EditCellUse->cu_def;
}
else
return;
switch (who)
{