Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Remove the test for NOQCH, and print the line ...
details: https://anonhg.NetBSD.org/src/rev/226aa987679b
branches: trunk
changeset: 474115:226aa987679b
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Jun 28 13:27:24 1999 +0000
description:
Remove the test for NOQCH, and print the line flags in the CTRACE in
the main loop wrefresh().
diffstat:
lib/libcurses/refresh.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r c4f756406a51 -r 226aa987679b lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c Mon Jun 28 13:13:53 1999 +0000
+++ b/lib/libcurses/refresh.c Mon Jun 28 13:27:24 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.12 1999/06/23 03:27:34 christos Exp $ */
+/* $NetBSD: refresh.c,v 1.13 1999/06/28 13:27:24 simonb 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.12 1999/06/23 03:27:34 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.13 1999/06/28 13:27:24 simonb Exp $");
#endif
#endif /* not lint */
@@ -114,7 +114,6 @@
__CTRACE("wrefresh: \tfirstch\tlastch\n");
#endif
-#ifndef NOQCH
if ((win->flags & __FULLWIN) && !curwin) {
/*
* Invoke quickch() only if more than a quarter of the lines
@@ -126,7 +125,6 @@
if (!__noqch && dnum > (int) win->maxy / 4)
quickch(win);
}
-#endif
#ifdef DEBUG
{
@@ -157,8 +155,9 @@
for (wy = 0; wy < win->maxy; wy++) {
#ifdef DEBUG
- __CTRACE("%d\t%d\t%d\n",
- wy, *win->lines[wy]->firstchp, *win->lines[wy]->lastchp);
+ __CTRACE("wy %d\tf: %d\tl:%d\tflags %x\n",
+ wy, *win->lines[wy]->firstchp, *win->lines[wy]->lastchp,
+ win->lines[wy]->flags);
#endif
if (!curwin)
curscr->lines[wy]->hash = win->lines[wy]->hash;
Home |
Main Index |
Thread Index |
Old Index