Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Clear the "forced" flag after updating a line, ...



details:   https://anonhg.NetBSD.org/src/rev/125a9594f7bd
branches:  trunk
changeset: 342824:125a9594f7bd
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Jan 10 08:11:06 2016 +0000

description:
Clear the "forced" flag after updating a line, otherwise we'll always do
complete line redraws.

diffstat:

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

diffs (27 lines):

diff -r cc2d2aef90d8 -r 125a9594f7bd lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Sun Jan 10 06:13:21 2016 +0000
+++ b/lib/libcurses/refresh.c   Sun Jan 10 08:11:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.79 2014/02/20 09:42:42 blymn Exp $       */
+/*     $NetBSD: refresh.c,v 1.80 2016/01/10 08:11:06 jdc 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.79 2014/02/20 09:42:42 blymn Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.80 2016/01/10 08:11:06 jdc Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -396,7 +396,7 @@
                                            "_wnoutrefresh: "
                                            "line %d notdirty\n", wy);
 #endif
-                                       wlp->flags &= ~__ISDIRTY;
+                                       wlp->flags &= ~(__ISDIRTY | __ISFORCED);
                                }
                        }
                }



Home | Main Index | Thread Index | Old Index