From ba5353d809b1d6858a18a11f9a7c54e87f10fee9 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Thu, 6 Jun 2013 13:37:25 -0400 Subject: [PATCH] On edge creation, move call to agbindrec from non-cgraph to cgraph fork. --- tclpkg/tcldot/tcldot-graphcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tclpkg/tcldot/tcldot-graphcmd.c b/tclpkg/tcldot/tcldot-graphcmd.c index 6af696fc9..60fc8323b 100644 --- a/tclpkg/tcldot/tcldot-graphcmd.c +++ b/tclpkg/tcldot/tcldot-graphcmd.c @@ -117,9 +117,9 @@ int graphcmd(ClientData clientData, Tcl_Interp * interp, } #ifndef WITH_CGRAPH e = agedge(g, tail, head); - agbindrec(ce, "Agedgeinfo_t", sizeof(Agedgeinfo_t), TRUE); #else e = agedge(g, tail, head, NULL, 1); + agbindrec(e, "Agedgeinfo_t", sizeof(Agedgeinfo_t), TRUE); Tcl_AppendResult(interp, obj2cmd(e), NULL); #endif #ifndef WITH_CGRAPH -- 2.50.1