]> granicus.if.org Git - graphviz/commitdiff
Addendum to bug 1079 fix
authorerg <devnull@localhost>
Thu, 15 Feb 2007 22:37:09 +0000 (22:37 +0000)
committererg <devnull@localhost>
Thu, 15 Feb 2007 22:37:09 +0000 (22:37 +0000)
lib/dotgen/dotsplines.c

index 5b8b2501e60151e4371b03d25a218ece6fcd5b37..1fd64bb644bc01f470b619530d157a1bba0cbe94 100644 (file)
@@ -382,7 +382,7 @@ static void _dot_splines(graph_t * g, int normalize)
                int dwny = ND_coord_i(n).y - ND_coord_i(GD_rank(g)[r+1].v[0]).y;
                sizey = MIN(upy, dwny);
            }
-           makeSelfEdge(P, edges, ind, cnt, sd.Multisep, sizey, &sinfo);
+           makeSelfEdge(P, edges, ind, cnt, sd.Multisep, sizey/2, &sinfo);
            for (b = 0; b < cnt; b++) {
                e = edges[ind+b];
                if (ED_label(e))