More updates to prevent magic from crashing when commands are run
on non-edit cells (this time, "erase").
This commit is contained in:
parent
898783467c
commit
bee0039e43
|
|
@ -625,6 +625,12 @@ CmdErase(w, cmd)
|
|||
|
||||
if (!ToolGetEditBox(&editRect)) return;
|
||||
|
||||
if (EditCellUse == NULL)
|
||||
{
|
||||
TxError("No cell def being edited!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Erase with no arguments is the same as erasing
|
||||
* everything underneath the box tool (ie, painting space)
|
||||
|
|
|
|||
Loading…
Reference in New Issue