]> granicus.if.org Git - graphviz/commitdiff
Remove extraneous space in attribute lists
authorerg <devnull@localhost>
Thu, 2 Oct 2008 15:21:17 +0000 (15:21 +0000)
committererg <devnull@localhost>
Thu, 2 Oct 2008 15:21:17 +0000 (15:21 +0000)
lib/graph/graphio.c

index 28a525dfa75bbf8be4942ea4280ca2c4768d3dbc..f916c7950fffee943aaaa7ac624e2232ea59e43f 100644 (file)
@@ -279,7 +279,7 @@ static void writeattr(FILE * fp, int *npp, char *name, char *val)
 {
     fprintf(fp, ++(*npp) > 1 ? ", " : " [");
     fprintf(fp, "%s=", agcanonical(name));
-    fprintf(fp, "%s ", agcanonical(val));
+    fprintf(fp, "%s", agcanonical(val));
 }
 
 void agwrnode(Agraph_t * g, FILE * fp, Agnode_t * n, int full, int indent)