From: erg Date: Sat, 5 Dec 2009 22:33:14 +0000 (+0000) Subject: Fix DEBUG granularity X-Git-Tag: LAST_LIBGRAPH~32^2~1529 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dac8fb402540cfb47e784ae667d6900c0fd01168;p=graphviz Fix DEBUG granularity --- 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