From: ellson Date: Tue, 21 Oct 2008 20:32:57 +0000 (+0000) Subject: cgraph - commit the oddity, see if I can automate the rest X-Git-Tag: LAST_LIBGRAPH~32^2~3049 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c50da97f8117b3a9db863aa203c362665da2b00b;p=graphviz cgraph - commit the oddity, see if I can automate the rest --- diff --git a/lib/neatogen/multispline.c b/lib/neatogen/multispline.c index 03eeea244..c83b02af3 100644 --- a/lib/neatogen/multispline.c +++ b/lib/neatogen/multispline.c @@ -778,7 +778,7 @@ finishEdge (edge_t* e, Ppoly_t spl, int flip, pointf p, pointf q) q1 = q; } if (Verbose > 1) - fprintf(stderr, "spline %s %s\n", e->tail->name, e->head->name); + fprintf(stderr, "spline %s %s\n", agnameof(agtail(e)), agnameof(aghead(e))); clip_and_install(e, e->head, spline, spl.pn, &sinfo); free(spline); @@ -885,7 +885,7 @@ genroute(tripoly_t * trip, int s, int t, edge_t * e, int doPolyline) cpts[i] = mkCtrlPts(t, mult+1, pl.ps[i], pl.ps[i + 1], pl.ps[i + 2], trip); if (!cpts[i]) { - agerr(AGWARN, "Could not create control points for multiple spline for edge (%s,%s)\n", e->tail->name, e->head->name); + agerr(AGWARN, "Could not create control points for multiple spline for edge (%s,%s)\n", agnameof(agtail(e)), agnameof(aghead(e))); return 1; } }