Added code to fail on the "cellname rename" command if the cell in
question is a read-only cell.
This commit is contained in:
parent
55ff3fd1ff
commit
682a559455
|
|
@ -107,7 +107,7 @@ DBCellRename(cellname, newname)
|
||||||
|
|
||||||
if ((celldef->cd_flags & CDINTERNAL) == CDINTERNAL)
|
if ((celldef->cd_flags & CDINTERNAL) == CDINTERNAL)
|
||||||
{
|
{
|
||||||
TxError("Attempt to rename internal cell \"%s\"\n", cellname);
|
TxError("Error: Attempt to rename internal cell \"%s\"\n", cellname);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -117,7 +117,7 @@ DBCellRename(cellname, newname)
|
||||||
|
|
||||||
if ((celldef->cd_flags & CDVENDORGDS) == CDVENDORGDS)
|
if ((celldef->cd_flags & CDVENDORGDS) == CDVENDORGDS)
|
||||||
{
|
{
|
||||||
TxError("Attempt to rename read-only cell \"%s\"\n", cellname);
|
TxError("Error: Attempt to rename read-only cell \"%s\"\n", cellname);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue