mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Fixed an error in the previous commit handling pin labels in GDS
input, which failed to update the "lastLabel" record of the cell in the case that the placeholder label being deleted was the last label, leading to labels being lost during GDS input.
This commit is contained in:
@@ -928,6 +928,8 @@ calmaElementText()
|
||||
cifReadCellDef->cd_labels = lab->lab_next;
|
||||
else
|
||||
sl->lab_next = lab->lab_next;
|
||||
if (cifReadCellDef->cd_lastLabel == lab)
|
||||
cifReadCellDef->cd_lastLabel = sl;
|
||||
freeMagic((char *)lab);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user