X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_color.c;h=f81a1914a6067b8afb15f315eb300fa748593b77;hp=a90ca9d3430874679b7c97f4a228316794dec382;hb=f70db18a0c3c6a828d8a5999be37239f01c9d98a;hpb=6f8ad7d77b390ee433a283e1c5175bcb67317674 diff --git a/ncurses/base/lib_color.c b/ncurses/base/lib_color.c index a90ca9d3..f81a1914 100644 --- a/ncurses/base/lib_color.c +++ b/ncurses/base/lib_color.c @@ -42,7 +42,7 @@ #include #include -MODULE_ID("$Id: lib_color.c,v 1.80 2006/11/26 01:33:16 tom Exp $") +MODULE_ID("$Id: lib_color.c,v 1.82 2006/12/31 00:22:19 tom Exp $") /* * These should be screen structure members. They need to be globals for @@ -368,10 +368,11 @@ init_pair(short pair, short f, short b) if (initialize_pair) { const color_t *tp = hue_lightness_saturation ? hls_palette : cga_palette; - T(("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", - pair, - tp[f].red, tp[f].green, tp[f].blue, - tp[b].red, tp[b].green, tp[b].blue)); + TR(TRACE_ATTRS, + ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", + pair, + tp[f].red, tp[f].green, tp[f].blue, + tp[b].red, tp[b].green, tp[b].blue)); TPUTS_TRACE("initialize_pair"); putp(TPARM_7(initialize_pair, @@ -461,7 +462,8 @@ color_content(short color, short *r, short *g, short *b) if (b) *b = c_b; - T(("...color_content(%d,%d,%d,%d)", color, c_r, c_g, c_b)); + TR(TRACE_ATTRS, ("...color_content(%d,%d,%d,%d)", + color, c_r, c_g, c_b)); result = OK; } returnCode(result);