projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite2 release
[unix-history]
/
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
c4fc96b
..
bddbb61
100644
(file)
--- a/
usr/src/usr.bin/window/wwopen.c
+++ b/
usr/src/usr.bin/window/wwopen.c
@@
-35,7
+35,7
@@
*/
#ifndef lint
*/
#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"
#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;
}
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,
}
w->ww_win = wwalloc(w->ww_w.t, w->ww_w.l,