From: Matthew Fernandez Date: Sun, 6 Sep 2020 16:32:02 +0000 (-0700) Subject: simplify addNodeGraphics with agxbprint X-Git-Tag: 2.46.0~20^2^2~77^2~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54dbc33e09bc4860a7ba4884a3adc1b871de77d3;p=graphviz simplify addNodeGraphics with agxbprint --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index a3f02c1ca..0f539f422 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -598,9 +598,7 @@ addNodeGraphics (Agnode_t* np, Dt_t* alist, agxbuf* xb, agxbuf* unk) } } - agxbput (xb, x); - agxbputc (xb, ','); - agxbput (xb, y); + agxbprint (xb, "%s,%s", x, y); agsafeset (np, "pos", agxbuse (xb), ""); if (cnt) {