From 31ecd56ed750fb336d494c551accf38530d9045b Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 30 Mar 2005 20:32:35 +0000 Subject: [PATCH] Fix bug 658: make sure that auxiliary loops in multiedge loops are ignored. --- lib/neatogen/neatosplines.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index fec69fd16..1dd85711a 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -632,7 +632,8 @@ static int _spline_edges(graph_t * g, double SEP, int splines) add_points(ND_coord_i(n), ED_tail_port(e).p), add_points(ND_coord_i(head), ED_head_port(e).p)); - } else if ((n == head) && ED_count(e)) { /* self arc */ + } else if (n == head) { /* self arc */ + if (ED_count(e) == 0) continue; /* only do representative */ if (!P) { P = NEW(path); P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, box); -- 2.40.0