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:
+1
-1
@@ -2046,7 +2046,7 @@ struct WinDesc *cw;
|
|||||||
tty_nhbell();
|
tty_nhbell();
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
char searchbuf[BUFSZ + 2], tmpbuf[BUFSZ];
|
char searchbuf[BUFSZ + 2], tmpbuf[BUFSZ] = DUMMY;
|
||||||
boolean on_curr_page = FALSE;
|
boolean on_curr_page = FALSE;
|
||||||
int lineno = 0;
|
int lineno = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user