From cf5fd867f4e794b41fb06c66b00969e6d1dcb178 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 24 May 2024 12:43:36 -0400 Subject: [PATCH] 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. --- VERSION | 2 +- database/DBcellname.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 97d9b26a..58371726 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.483 +8.3.484 diff --git a/database/DBcellname.c b/database/DBcellname.c index 490c8942..589cb72f 100644 --- a/database/DBcellname.c +++ b/database/DBcellname.c @@ -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) {