Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Revert previous change, it is not correct.



details:   https://anonhg.NetBSD.org/src/rev/35497f9d6d19
branches:  trunk
changeset: 372535:35497f9d6d19
user:      blymn <blymn%NetBSD.org@localhost>
date:      Mon Dec 05 21:14:25 2022 +0000

description:
Revert previous change, it is not correct.

diffstat:

 lib/libcurses/refresh.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 4924a7834781 -r 35497f9d6d19 lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Mon Dec 05 16:03:50 2022 +0000
+++ b/lib/libcurses/refresh.c   Mon Dec 05 21:14:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.125 2022/11/30 06:19:15 blymn Exp $      */
+/*     $NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $      */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)refresh.c  8.7 (Berkeley) 8/13/94";
 #else
-__RCSID("$NetBSD: refresh.c,v 1.125 2022/11/30 06:19:15 blymn Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -1852,13 +1852,6 @@
        ox = curscr->curx;
        n = starts - startw;
 
-       if (!lineeq(__virtscr->alines[startw]->line,
-           curscr->alines[starts]->line, (size_t) __virtscr->maxx))
-               n--;
-
-       if (n == 0)
-               return;
-
        /*
         * XXX
         * The initial tests that set __noqch don't let us reach here unless



Home | Main Index | Thread Index | Old Index