Clear the getlin buffer

Recent change to this bit of code didn't clear the buffer,
which causes garbage in the string if compiled with EDIT_GETLIN
This commit is contained in:
Pasi Kallinen
2018-12-07 22:18:50 +02:00
parent 89d165b501
commit 8319227b55

View File

@@ -2046,7 +2046,7 @@ struct WinDesc *cw;
tty_nhbell();
break;
} else {
char searchbuf[BUFSZ + 2], tmpbuf[BUFSZ];
char searchbuf[BUFSZ + 2], tmpbuf[BUFSZ] = DUMMY;
boolean on_curr_page = FALSE;
int lineno = 0;