Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libcurses pullup 1.39 -> 1.40 (approved by releng-1-5)



details:   https://anonhg.NetBSD.org/src/rev/01596405c5dc
branches:  netbsd-1-5
changeset: 489090:01596405c5dc
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Aug 13 03:41:10 2000 +0000

description:
pullup 1.39 -> 1.40 (approved by releng-1-5)
on repaint, we must look at attributes present on curscr.
check __ISPASTEOL on curscr->lines, not on win->lines.  PR 10732.

diffstat:

 lib/libcurses/refresh.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d10a268b869e -r 01596405c5dc lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Sun Aug 13 03:08:52 2000 +0000
+++ b/lib/libcurses/refresh.c   Sun Aug 13 03:41:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.37.2.1 2000/08/03 11:46:12 itojun Exp $  */
+/*     $NetBSD: refresh.c,v 1.37.2.2 2000/08/13 03:41:10 itojun Exp $  */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)refresh.c  8.7 (Berkeley) 8/13/94";
 #else
-__RCSID("$NetBSD: refresh.c,v 1.37.2.1 2000/08/03 11:46:12 itojun Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.37.2.2 2000/08/13 03:41:10 itojun Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -383,7 +383,7 @@
        else
                win = __virtscr;
        /* Is the cursor still on the end of the last line? */
-       if (wy > 0 && win->lines[wy - 1]->flags & __ISPASTEOL) {
+       if (wy > 0 && curscr->lines[wy - 1]->flags & __ISPASTEOL) {
                domvcur(ly, lx, ly + 1, 0);
                ly++;
                lx = 0;



Home | Main Index | Thread Index | Old Index