Skip to content

Commit cf5fd86

Browse files
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.
1 parent 291ba96 commit cf5fd86

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.483
1+
8.3.484

database/DBcellname.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,11 +1121,13 @@ DBUsePrint(CellName, who, dolist)
11211121
celldef = DBCellLookDef(CellName);
11221122
*lasthier = '/';
11231123
}
1124-
else
1124+
else if (EditCellUse != NULL)
11251125
{
11261126
/* Referenced cellDef is the current edit def */
11271127
celldef = EditCellUse->cu_def;
11281128
}
1129+
else
1130+
return;
11291131

11301132
switch (who)
11311133
{

0 commit comments

Comments
 (0)