From ee00af2f01c4e4d040590a8799c0f29143350156 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 6 Sep 2020 09:33:13 -0700 Subject: [PATCH] simplify addEdgePoint with agxbprint --- cmd/tools/gmlparse.y | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.40.0