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_Lite1 release
[unix-history]
/
usr
/
src
/
lib
/
libcurses
/
addbytes.c
diff --git
a/usr/src/lib/libcurses/addbytes.c
b/usr/src/lib/libcurses/addbytes.c
index
03a1df0
..
5ec3a06
100644
(file)
--- a/
usr/src/lib/libcurses/addbytes.c
+++ b/
usr/src/lib/libcurses/addbytes.c
@@
-32,11
+32,10
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)addbytes.c 8.
1 (Berkeley) 6/11/93
";
+static char sccsid[] = "@(#)addbytes.c 8.
3 (Berkeley) 3/19/94
";
#endif /* not lint */
#include <curses.h>
#endif /* not lint */
#include <curses.h>
-#include <termios.h>
#define SYNCH_IN {y = win->cury; x = win->curx;}
#define SYNCH_OUT {win->cury = y; win->curx = x;}
#define SYNCH_IN {y = win->cury; x = win->curx;}
#define SYNCH_OUT {win->cury = y; win->curx = x;}
@@
-87,7
+86,8
@@
newline: if (y == win->maxy - 1) {
SYNCH_IN;
lp = win->lines[y];
x = 0;
SYNCH_IN;
lp = win->lines[y];
x = 0;
- }
+ } else
+ return (ERR);
} else {
y++;
lp = win->lines[y];
} else {
y++;
lp = win->lines[y];