misc: array bounds fixes that gcc finds (John Gosset)
This commit is contained in:
parent
77809fb0cc
commit
ada24b4005
6 changed files with 6 additions and 9 deletions
|
|
@ -75,7 +75,7 @@ void t_ptinit(void)
|
|||
ics = EM; /* insertion character space */
|
||||
for (i = 0; i < (NTAB - 1) && DTAB * (i + 1) < TABMASK; i++)
|
||||
tabtab[i] = DTAB * (i + 1);
|
||||
tabtab[NTAB] = 0;
|
||||
tabtab[NTAB-1] = 0;
|
||||
pl = 11 * INCH; /* paper length */
|
||||
po = PO; /* page offset */
|
||||
spacesz = SS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue