From dac8fb402540cfb47e784ae667d6900c0fd01168 Mon Sep 17 00:00:00 2001 From: erg Date: Sat, 5 Dec 2009 22:33:14 +0000 Subject: [PATCH] Fix DEBUG granularity --- lib/common/htmltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index 03fff1f91..9420daec2 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -1169,7 +1169,7 @@ void makeGraphs(htmltbl_t * tbl, graph_t * rowg, graph_t * colg) x += minc[cp->col + c]; ED_minlen(e) = x; /* ED_minlen(e) = cp->data.box.UR.x; */ -#ifdef DEBUG +#if (DEBUG==2) fprintf(stderr, "col edge %s -> %s %d\n", t->name, h->name, ED_minlen(e)); #endif @@ -1188,7 +1188,7 @@ void makeGraphs(htmltbl_t * tbl, graph_t * rowg, graph_t * colg) y += minr[cp->row + r]; ED_minlen(e) = y; /* ED_minlen(e) = cp->data.box.UR.y; */ -#ifdef DEBUG +#if (DEBUG==2) fprintf(stderr, "row edge %s -> %s %d\n", agnameof(t), agnameof(h), ED_minlen(e)); #endif -- 2.40.0