aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/troff')
-rw-r--r--src/cmd/troff/t10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff/t10.c b/src/cmd/troff/t10.c
index 38090eac..b037bdda 100644
--- a/src/cmd/troff/t10.c
+++ b/src/cmd/troff/t10.c
@@ -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;