Make wish prompts not remember the input

With EDIT_GETLIN, the wish prompt remembered the previous input,
but this isn't actually useful.
This commit is contained in:
Pasi Kallinen
2018-08-26 12:15:42 +03:00
parent 083e0904db
commit 6b79355494
2 changed files with 2 additions and 1 deletions

View File

@@ -5071,7 +5071,7 @@ int triesleft;
void
makewish()
{
static char buf[BUFSZ] = DUMMY;
char buf[BUFSZ] = DUMMY;
char promptbuf[BUFSZ];
struct obj *otmp, nothing;
int tries = 0;