diff options
Diffstat (limited to 'dwr/graph2.cc')
-rw-r--r-- | dwr/graph2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwr/graph2.cc b/dwr/graph2.cc index 28f03f9..1ba381e 100644 --- a/dwr/graph2.cc +++ b/dwr/graph2.cc @@ -110,7 +110,7 @@ void Graph2::Node::initAg () char buf[64]; snprintf (buf, 64, "n%d", index); - node = agnode(graph->graph, buf, TRUE); + node = agnode(graph->graph, buf, 1); agsafeset (node, (char*)"shape", (char*)"rect", (char*)""); } @@ -152,7 +152,7 @@ void Graph2::Edge::initAg () char buf[64]; snprintf (buf, 64, "e%d", index); - edge = agedge (graph->graph, from->node, to->node, (char*)buf, TRUE); + edge = agedge (graph->graph, from->node, to->node, (char*)buf, 1); } void Graph2::Edge::cleanupAg () |