Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Add extra debug output (for wattrset()).



details:   https://anonhg.NetBSD.org/src/rev/026ba182b0a0
branches:  trunk
changeset: 484989:026ba182b0a0
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Apr 16 09:48:09 2000 +0000

description:
Add extra debug output (for wattrset()).

diffstat:

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

diffs (19 lines):

diff -r 07664a8fc58d -r 026ba182b0a0 lib/libcurses/attributes.c
--- a/lib/libcurses/attributes.c        Sun Apr 16 09:42:22 2000 +0000
+++ b/lib/libcurses/attributes.c        Sun Apr 16 09:48:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: attributes.c,v 1.4 2000/04/15 13:17:02 blymn Exp $     */
+/*     $NetBSD: attributes.c,v 1.5 2000/04/16 09:48:09 jdc Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -236,6 +236,9 @@
 int
 wattrset(WINDOW *win, int attr)
 {
+#ifdef DEBUG
+       __CTRACE ("wattrset: %08x\n", attr, __nca);
+#endif
        if ((attr_t) attr & __BLINK)
                wattron(win, __BLINK);
        else



Home | Main Index | Thread Index | Old Index