From: erg Date: Fri, 15 Jul 2005 17:01:17 +0000 (+0000) Subject: Fix bug 743 X-Git-Tag: LAST_LIBGRAPH~32^2~7434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5716de54b9e8af48dc1523d5255c4694b1edee0b;p=graphviz Fix bug 743 --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 74de05262..f57fe06ac 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -337,7 +337,7 @@ void dot_splines(graph_t * g) break; } if (e0->tail == e0->head) { - int sizey, r; + int b, sizey, r; n = e0->tail; r = ND_rank(n); if (r == GD_maxrank(g)) { @@ -355,8 +355,8 @@ void dot_splines(graph_t * g) sizey = MIN(upy, dwny); } makeSelfEdge(P, edges, ind, cnt, sd.Multisep, sizey, &sinfo); - for (i = 0; i < cnt; i++) { - e = edges[ind+i]; + for (b = 0; b < cnt; b++) { + e = edges[ind+b]; if (ED_label(e)) updateBB(g, ED_label(e)); }