From e585df5873790eb4687aa1187dcfcc94469a077f Mon Sep 17 00:00:00 2001 From: algernon Date: Thu, 15 Feb 2001 21:41:55 +0000 Subject: (display_msg_bar): changed an fprintf to a PRING_DEBUG --- src/bar.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/bar.c b/src/bar.c index 493d3b4..d5a2a9b 100644 --- a/src/bar.c +++ b/src/bar.c @@ -1,22 +1,25 @@ /* Functionality for a bar across the bottom of the screen listing the * windows currently managed. - * - * Copyright (C) 2000 Shawn Betts - * - * This program is free software; you can redistribute it and/or modify + * + * Copyright (C) 2000, 2001 Shawn Betts + * + * This file is part of ratpoison. + * + * ratpoison is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * - * This program is distributed in the hope that it will be useful, + * + * ratpoison is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA */ + * Boston, MA 02111-1307 USA + */ #include #include @@ -185,7 +188,7 @@ display_msg_in_bar (screen_info *s, char *msg, int mark_start, int mark_end) start = XTextWidth (s->font, msg, mark_start); end = XTextWidth (s->font, msg + mark_start, mark_end - mark_start); - fprintf (stderr, "%d %d strlen(%d)==> %d %d\n", mark_start, mark_end, strlen(msg), start, end); + PRINT_DEBUG ("%d %d strlen(%d)==> %d %d\n", mark_start, mark_end, strlen(msg), start, end); lgv.foreground = gv.foreground; lgv.function = GXxor; -- cgit v1.2.3