Corrected an error in the previous commit, and updated the version

number.
This commit is contained in:
Tim Edwards 2021-03-29 11:54:47 -04:00
parent 187c9285e2
commit fcdce0553d
2 changed files with 9 additions and 6 deletions

View File

@ -1 +1 @@
8.3.149
8.3.150

View File

@ -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;