(execute): Fix botched test for empty argument.

This commit is contained in:
Markus Armbruster 2004-03-01 13:26:39 +00:00
parent 0c19d70c74
commit 13797a2ba2

View file

@ -317,7 +317,7 @@ execute(void)
p = getstarg(player->argp[1], "File? ", buf);
if (p == (s_char *)0 || p == '\0')
if (p == (s_char *)0 || *p == '\0')
return RET_SYN;
prexec(player->argp[1]);