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
Pull in some of the lpt_port_test fixes from lpt.c.
[unix-history]
/
lib
/
libcurses
/
insertln.c
diff --git
a/lib/libcurses/insertln.c
b/lib/libcurses/insertln.c
index
87a61ee
..
9a9e321
100644
(file)
--- a/
lib/libcurses/insertln.c
+++ b/
lib/libcurses/insertln.c
@@
-55,7
+55,7
@@
winsertln(win)
#endif
if (win->orig == NULL)
temp = win->lines[win->maxy - 1];
#endif
if (win->orig == NULL)
temp = win->lines[win->maxy - 1];
- for (y = win->maxy - 1; y > win->cury; --y) {
+ for (y = win->maxy - 1; y >
(int)
win->cury; --y) {
win->lines[y]->flags &= ~__ISPASTEOL;
win->lines[y - 1]->flags &= ~__ISPASTEOL;
if (win->orig == NULL)
win->lines[y]->flags &= ~__ISPASTEOL;
win->lines[y - 1]->flags &= ~__ISPASTEOL;
if (win->orig == NULL)