]> granicus.if.org Git - graphviz/commitdiff
Fix port resolution problem due to virtual edges
authorerg <devnull@localhost>
Tue, 19 Aug 2008 22:00:09 +0000 (22:00 +0000)
committererg <devnull@localhost>
Tue, 19 Aug 2008 22:00:09 +0000 (22:00 +0000)
lib/dotgen/dotsplines.c

index a13bef088aad7b172304ba7b95d0f894637ea1ed..6a4a99a989276dd9121222836905a7e7e13f2c35 100644 (file)
@@ -323,7 +323,7 @@ static void _dot_splines(graph_t * g, int normalize)
     }
 
     for (i = 0; i < n_edges; i++)
-       resolvePorts (edges[i]);
+       resolvePorts (getmainedge(edges[i]));
 
     /* Sort so that equivalent edges are contiguous. 
      * Equivalence should basically mean that 2 edges have the