X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ed554bc5e4201344d7eaad78263566e79428759c..fd88f5c5678c80ff5e338adc372d28a52ad20530:/usr/src/usr.bin/window/wwopen.c diff --git a/usr/src/usr.bin/window/wwopen.c b/usr/src/usr.bin/window/wwopen.c index c4fc96bb29..bddbb619c9 100644 --- a/usr/src/usr.bin/window/wwopen.c +++ b/usr/src/usr.bin/window/wwopen.c @@ -35,7 +35,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)wwopen.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)wwopen.c 8.2 (Berkeley) 4/28/95"; #endif /* not lint */ #include "ww.h" @@ -116,6 +116,8 @@ wwopen(flags, nrow, ncol, row, col, nline) } w->ww_obe = w->ww_ob + 512; w->ww_obp = w->ww_obq = w->ww_ob; + if (w->ww_pty >= wwdtablesize) + wwdtablesize = w->ww_pty + 1; } w->ww_win = wwalloc(w->ww_w.t, w->ww_w.l,