From 5f4b82d147c6052fdd594394cada80656ccb817c Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Fri, 7 Oct 2011 14:18:42 -0400 Subject: [PATCH] Fix indentation; remove wrong/extraneous comment --- lib/common/utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/common/utils.c b/lib/common/utils.c index 8b4ee52b6..4576d5eec 100644 --- a/lib/common/utils.c +++ b/lib/common/utils.c @@ -986,7 +986,7 @@ static node_t *clustNode(node_t * n, graph_t * cg, agxbuf * xb, cn = agnode(agroot(cg), agxbuse(xb)); #else cn = agnode(agroot(cg), agxbuse(xb), 1); - agbindrec(cn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data + agbindrec(cn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); #endif /* WITH_CGRAPH */ SET_CLUST_NODE(cn); @@ -1224,7 +1224,7 @@ int processClusterEdges(graph_t * g) clg = agsubg(g, "__clusternodes"); #else /* WITH_CGRAPH */ clg = agsubg(g, "__clusternodes",1); - agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); //node custom data + agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); #endif /* WITH_CGRAPH */ agxbinit(&xb, SMALLBUF, buf); for (n = agfstnode(g); n; n = agnxtnode(g, n)) { @@ -1282,7 +1282,7 @@ static node_t *mapN(node_t * n, graph_t * clg) nn = agnode(g, name); #else /* WITH_CGRAPH */ nn = agnode(g, name, 1); - agbindrec(nn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data + agbindrec(nn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); #endif /* WITH_CGRAPH */ /* Set all attributes to default */ @@ -1332,7 +1332,7 @@ void undoClusterEdges(graph_t * g) clg = agsubg(g, "__clusternodes"); #else /* WITH_CGRAPH */ clg = agsubg(g, "__clusternodes",1); - agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); //node custom data + agbindrec(clg, "Agraphinfo_t", sizeof(Agraphinfo_t), TRUE); #endif /* WITH_CGRAPH */ for (n = agfstnode(g); n; n = agnxtnode(g, n)) { for (e = agfstout(g, n); e; e = agnxtout(g, e)) { -- 2.40.0