Need the extra byte in the temp buffer to avoid overrun in scrollup on

wide screens.
This commit is contained in:
briggs 1994-07-05 03:48:56 +00:00
parent f4e2e49ef3
commit 782af154d0
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
*/ */
/* /*
* The console device driver for Alice. * The console device driver for Alice.
* $Id: console.c,v 1.14 1994/07/04 23:05:34 briggs Exp $ * $Id: console.c,v 1.15 1994/07/05 03:48:56 briggs Exp $
* *
* April 11th, 1992 LK * April 11th, 1992 LK
* Original * Original
@ -739,7 +739,7 @@ static scrollup(int vtnum)
register int i, j, x, maxx; register int i, j, x, maxx;
register long *from, *to; register long *from, *to;
register struct vt *v = &vt[vtnum]; register struct vt *v = &vt[vtnum];
char tempbuf[132]; char tempbuf[133];
int buflen, s; int buflen, s;
/* Save the top line: */ /* Save the top line: */