mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
Corrected an error in the previous commit, and updated the version
number.
This commit is contained in:
+8
-5
@@ -1514,12 +1514,15 @@ CmdPort(w, cmd)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ((lab == NULL) & (!doQuiet))
|
||||
if (lab == NULL)
|
||||
{
|
||||
if (StrIsInt(cmd->tx_argv[1]))
|
||||
TxError("No label found with index %s.\n", cmd->tx_argv[1]);
|
||||
else
|
||||
TxError("No port found with name %s.\n", cmd->tx_argv[1]);
|
||||
if (!doQuiet)
|
||||
{
|
||||
if (StrIsInt(cmd->tx_argv[1]))
|
||||
TxError("No label found with index %s.\n", cmd->tx_argv[1]);
|
||||
else
|
||||
TxError("No port found with name %s.\n", cmd->tx_argv[1]);
|
||||
}
|
||||
return;
|
||||
}
|
||||
argstart = 2;
|
||||
|
||||
Reference in New Issue
Block a user