(acce, rea, rela, snxtitem): Pass NULL as prompt when the prompt won't

be used.
This commit is contained in:
Markus Armbruster 2006-01-06 21:37:40 +00:00
parent 1b63d30a51
commit 604fe007c0
4 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ rea(void)
if (player->god && player->argp[1] &&
(mineq(player->argp[1], "yes") == ME_MISMATCH) &&
(mineq(player->argp[1], "no") == ME_MISMATCH)) {
if ((n = natarg(player->argp[1], "")) < 0)
if ((n = natarg(player->argp[1], NULL)) < 0)
return RET_SYN;
num = n;
may_delete = 0;