Revert "Simplify execute(): use getstarg() instead of getstring()"

This reverts commit 96d1039c24.  It's in
the next commit's way.
This commit is contained in:
Markus Armbruster 2011-07-02 10:00:05 +02:00
parent e2e69a29d5
commit 0493cbc655

View file

@ -250,7 +250,10 @@ execute(void)
failed = 0; failed = 0;
p = getstarg(player->comtail[1], "File? ", buf); if (player->comtail[1])
p = player->comtail[1];
else
p = getstring("File? ", buf);
if (p == NULL || *p == '\0') if (p == NULL || *p == '\0')
return RET_SYN; return RET_SYN;
prexec(p); prexec(p);