From e7baa9710507aab9440e3a7bc61830897f465dd7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 16 Apr 2010 14:59:10 +0200 Subject: [PATCH] lib: remove unwanted debug messages Signed-off-by: Karel Zak --- lib/tt.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/tt.c b/lib/tt.c index beb04311..7d87bf54 100644 --- a/lib/tt.c +++ b/lib/tt.c @@ -388,9 +388,6 @@ static void recount_widths(struct tt *tb, char *buf, size_t bufsz) if (cl->width < len) cl->width = len; - -fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); - } } @@ -409,9 +406,6 @@ fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); cl->width = (int) cl->width_hint; width += cl->width + (is_last_column(tb, cl) ? 0 : 1); - -fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); - } if (width == tb->termwidth) @@ -460,7 +454,7 @@ fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); } } leave: -///* +/* fprintf(stderr, "terminal: %d, output: %d\n", tb->termwidth, width); list_for_each(p, &tb->tb_columns) { @@ -472,7 +466,7 @@ leave: cl->width_hint > 1 ? (int) cl->width_hint : (int) (cl->width_hint * tb->termwidth)); } -//*/ +*/ return; } -- 2.39.5