From: Markus Armbruster Date: Sun, 17 Apr 2011 07:53:40 +0000 (+0200) Subject: Clean up mark()'s test for its optional argument X-Git-Tag: v4.3.27~9 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=81d80109edfdf0a4dd5d9e01a8c5478fec1815ba 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. --- diff --git a/src/lib/commands/mark.c b/src/lib/commands/mark.c index 59045015b..1d51dde26 100644 --- a/src/lib/commands/mark.c +++ b/src/lib/commands/mark.c @@ -51,7 +51,7 @@ mark(void) return RET_FAIL; } - if (player->argp[1] && player->argp[1]) { + if (player->argp[1]) { p = getstarg(player->argp[1], "What commodity (or 'all')? ", buf); if (!p) return RET_SYN;