From: Matthew Fernandez Date: Sun, 6 Sep 2020 16:33:13 +0000 (-0700) Subject: simplify addEdgePoint with agxbprint X-Git-Tag: 2.46.0~20^2^2~77^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee00af2f01c4e4d040590a8799c0f29143350156;p=graphviz simplify addEdgePoint with agxbprint --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index 0f539f422..47644d705 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -630,9 +630,7 @@ addEdgePoint (Agedge_t* ep, Dt_t* alist, agxbuf* xb) } if (agxblen(xb)) agxbputc (xb, ' '); - agxbput (xb, x); - agxbputc (xb, ','); - agxbput (xb, y); + agxbprint (xb, "%s,%s", x, y); } static void