Source-Changes-HG archive

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

[src/curses-v3]: src/lib/libcurses Handle subwins correctly.



details:   https://anonhg.NetBSD.org/src/rev/3c0f62409513
branches:  curses-v3
changeset: 479976:3c0f62409513
user:      jdc <jdc%NetBSD.org@localhost>
date:      Thu Mar 16 21:30:35 2000 +0000

description:
Handle subwins correctly.

diffstat:

 lib/libcurses/insdelln.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1d11dff7eb36 -r 3c0f62409513 lib/libcurses/insdelln.c
--- a/lib/libcurses/insdelln.c  Thu Mar 16 21:27:44 2000 +0000
+++ b/lib/libcurses/insdelln.c  Thu Mar 16 21:30:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: insdelln.c,v 1.1.2.1 2000/03/05 23:27:11 jdc Exp $     */
+/*     $NetBSD: insdelln.c,v 1.1.2.2 2000/03/16 21:30:35 jdc Exp $     */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
                for (y = win->cury; y < win->maxy; y++)
                        __touchline(win, y, 0, (int) win->maxx - 1, 0);
        }
-       if (win->orig == NULL)
+       if (win->orig != NULL)
                __id_subwins(win);
        return (OK);
 }



Home | Main Index | Thread Index | Old Index