Clean up mark()'s test for its optional argument
Commit 60bbb6b0
(v4.2.15) accidentally changed the test from "absent
or empty" to "absent". Leave it that way, just clean it up.
This commit is contained in:
parent
40b11c098c
commit
81d80109ed
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ mark(void)
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->argp[1] && player->argp[1]) {
|
if (player->argp[1]) {
|
||||||
p = getstarg(player->argp[1], "What commodity (or 'all')? ", buf);
|
p = getstarg(player->argp[1], "What commodity (or 'all')? ", buf);
|
||||||
if (!p)
|
if (!p)
|
||||||
return RET_SYN;
|
return RET_SYN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue