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:
Markus Armbruster 2011-04-17 09:53:40 +02:00
parent 40b11c098c
commit 81d80109ed

View file

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