Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Initialise window delay for all new windows (i...



details:   https://anonhg.NetBSD.org/src/rev/87a3e6262254
branches:  trunk
changeset: 484964:87a3e6262254
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Apr 15 22:53:46 2000 +0000

description:
Initialise window delay for all new windows (including sub-windows).

diffstat:

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

diffs (34 lines):

diff -r d8210de5b010 -r 87a3e6262254 lib/libcurses/newwin.c
--- a/lib/libcurses/newwin.c    Sat Apr 15 22:53:05 2000 +0000
+++ b/lib/libcurses/newwin.c    Sat Apr 15 22:53:46 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newwin.c,v 1.16 2000/04/15 13:17:04 blymn Exp $        */
+/*     $NetBSD: newwin.c,v 1.17 2000/04/15 22:53:46 jdc Exp $  */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)newwin.c   8.3 (Berkeley) 7/27/94";
 #else
-__RCSID("$NetBSD: newwin.c,v 1.16 2000/04/15 13:17:04 blymn Exp $");
+__RCSID("$NetBSD: newwin.c,v 1.17 2000/04/15 22:53:46 jdc Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -78,7 +78,6 @@
        win->nextp = win;
        win->ch_off = 0;
        win->orig = NULL;
-       win->delay = -1;
 
 #ifdef DEBUG
        __CTRACE("newwin: win->ch_off = %d\n", win->ch_off);
@@ -242,6 +241,7 @@
        win->begy = by;
        win->begx = bx;
        win->flags = 0;
+       win->delay = -1;
        win->wattr = 0;
        win->bchar = ' ';
        win->battr = 0;



Home | Main Index | Thread Index | Old Index