From e84b751cc0c3d6e2e9a9b4483c517347411d54c6 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Wed, 7 Sep 2011 14:03:04 -0400 Subject: [PATCH] Fix improperly entered agbindrec code. --- lib/common/htmltable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index dc007afe3..7f8015c6d 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -1419,12 +1419,12 @@ void sizeArray(htmltbl_t * tbl) #ifdef WITH_CGRAPH rowg = agopen("rowg", Agdirected,NIL(Agdisc_t *)); colg = agopen("colg", Agdirected,NIL(Agdisc_t *)); -#else - rowg = agopen("rowg", AGDIGRAPH); - colg = agopen("colg", AGDIGRAPH); /* Only need GD_nlist */ agbindrec(rowg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); // graph custom data agbindrec(colg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); // graph custom data +#else + rowg = agopen("rowg", AGDIGRAPH); + colg = agopen("colg", AGDIGRAPH); #endif makeGraphs(tbl, rowg, colg); rank(rowg, 2, INT_MAX); -- 2.40.0