From 1d467efd7ecc13e2224477ce819ace8a3d6cbb89 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 22 Jun 2007 23:38:46 +0000 Subject: [PATCH] We don't have _tracef(). --- pdcurses/panel.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pdcurses/panel.c b/pdcurses/panel.c index 74607b9b..383ea1de 100644 --- a/pdcurses/panel.c +++ b/pdcurses/panel.c @@ -11,12 +11,9 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -#ifdef HAVE_CONFIG_H -# include -#endif #include -RCSID("$Id: panel.c,v 1.4 2007/06/14 14:11:30 wmcbrine Exp $") +RCSID("$Id: panel.c,v 1.5 2007/06/22 23:38:46 wmcbrine Exp $") /*man-start************************************************************** @@ -149,11 +146,11 @@ PANEL _stdscr_pseudo_panel = { (WINDOW *)0 }; static void dPanel(char *text, PANEL *pan) { - _tracef("%s id=%s b=%s a=%s y=%d x=%d", + PDC_LOG(("%s id=%s b=%s a=%s y=%d x=%d", text, pan->user, pan->below ? pan->below->user : "--", pan->above ? pan->above->user : "--", - pan->wstarty, pan->wstartx); + pan->wstarty, pan->wstartx)); } static void dStack(char *fmt, int num, PANEL *pan) @@ -161,12 +158,12 @@ static void dStack(char *fmt, int num, PANEL *pan) char s80[80]; sprintf(s80, fmt, num, pan); - _tracef("%s b=%s t=%s", s80, + PDC_LOG(("%s b=%s t=%s", s80, _bottom_panel ? _bottom_panel->user : "--", - _top_panel ? _top_panel->user : "--"); + _top_panel ? _top_panel->user : "--")); if (pan) - _tracef("pan id=%s", pan->user); + PDC_LOG(("pan id=%s", pan->user)); pan = _bottom_panel;