]> granicus.if.org Git - graphviz/commitdiff
Fix bug 936
authorerg <devnull@localhost>
Thu, 27 Apr 2006 22:01:49 +0000 (22:01 +0000)
committererg <devnull@localhost>
Thu, 27 Apr 2006 22:01:49 +0000 (22:01 +0000)
lib/dotgen/dotsplines.c

index 8360b484e3017cfd427413798181086b91c6e625..cc683cfd9ef79df6b156db0106391e760a79c610 100644 (file)
@@ -720,7 +720,7 @@ static edge_t*
 cloneEdge (graph_t* g, node_t* tn, node_t* hn, edge_t* orige)
 {
     edge_t* e = agedge(g, tn, hn);
-    agcopyattr (orige, e);
+    agcopyattr (getmainedge(orige), e);
 
     return e;
 }