Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Fix a silly bug that caused blanks to always b...



details:   https://anonhg.NetBSD.org/src/rev/062b93d79c46
branches:  trunk
changeset: 486344:062b93d79c46
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri May 19 16:00:52 2000 +0000

description:
Fix a silly bug that caused blanks to always be redrawn on dirty lines in
curscr.  This usually manifested itself as a very slow redraw after suspend.

diffstat:

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

diffs (27 lines):

diff -r bbb84f5b6057 -r 062b93d79c46 lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Fri May 19 16:00:30 2000 +0000
+++ b/lib/libcurses/refresh.c   Fri May 19 16:00:52 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.33 2000/05/19 07:39:02 mycroft Exp $     */
+/*     $NetBSD: refresh.c,v 1.34 2000/05/19 16:00:52 mycroft 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.33 2000/05/19 07:39:02 mycroft Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.34 2000/05/19 16:00:52 mycroft Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -372,7 +372,7 @@
        int     wy;
 {
        WINDOW  *win;
-       static __LDATA blank = {' ', 0};
+       static __LDATA blank = {' ', 0, ' ', 0};
        __LDATA *nsp, *csp, *cp, *cep;
        u_int   force;
        int     clsp, nlsp;     /* Last space in lines. */



Home | Main Index | Thread Index | Old Index