Module Name:    src
Committed By:   blymn
Date:           Sat Dec 25 10:08:21 UTC 2010

Modified Files:
        src/lib/libcurses: attributes.c

Log Message:
Little bit more debug information.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libcurses/attributes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/attributes.c
diff -u src/lib/libcurses/attributes.c:1.20 src/lib/libcurses/attributes.c:1.21
--- src/lib/libcurses/attributes.c:1.20	Wed Feb  3 15:34:40 2010
+++ src/lib/libcurses/attributes.c	Sat Dec 25 10:08:20 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: attributes.c,v 1.20 2010/02/03 15:34:40 roy Exp $	*/
+/*	$NetBSD: attributes.c,v 1.21 2010/12/25 10:08:20 blymn Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: attributes.c,v 1.20 2010/02/03 15:34:40 roy Exp $");
+__RCSID("$NetBSD: attributes.c,v 1.21 2010/12/25 10:08:20 blymn Exp $");
 #endif				/* not lint */
 
 #include "curses.h"
@@ -358,6 +358,9 @@
 	__CTRACE(__CTRACE_ATTR, "termattrs\n");
 #endif
 	if (exit_attribute_mode != NULL) {
+#ifdef DEBUG
+	__CTRACE(__CTRACE_ATTR, "termattrs: have exit attribute mode\n");
+#endif
 		if (enter_blink_mode != NULL)
 			ch |= __BLINK;
 		if (enter_bold_mode != NULL)

Reply via email to