From: erg Date: Sat, 5 Dec 2009 23:20:13 +0000 (+0000) Subject: Fix bug when generating polylines for simple multiedges X-Git-Tag: LAST_LIBGRAPH~32^2~1524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9a476d4f0c1e42094c7f8ef395201039d48f793;p=graphviz Fix bug when generating polylines for simple multiedges --- diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index 294c0c128..178d7bcab 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -476,8 +476,8 @@ makeStraightEdge(graph_t * g, edge_t * e, int doPolyline) line.pn = 4; line.ps = pts; - for (i=0; i < 4; i++) { - pts[i] = dumber[i]; + for (j=0; j < 4; j++) { + pts[j] = dumber[j]; } make_polyline (line, &spl); clip_and_install(e0, aghead(e0), spl.ps, spl.pn, &sinfo);