]> granicus.if.org Git - graphviz/commitdiff
Fix wrong order of function parameters
authorerg <devnull@localhost>
Wed, 22 Dec 2010 22:37:38 +0000 (22:37 +0000)
committererg <devnull@localhost>
Wed, 22 Dec 2010 22:37:38 +0000 (22:37 +0000)
cmd/tools/gmlparse.y

index 906bed6557ec1cd672c1839240e0e19988d14853..6872eddc4b61c619cd3b6bc47c4b055f9e97477b 100644 (file)
@@ -812,7 +812,7 @@ gml_to_gv (char* name, FILE* fp, int cnt, int* errors)
     else {
        agxbinit (&xb, BUFSIZ, buf);
        agxbinit (&unk, BUFSIZ, unknownb);
-       g = mkGraph (G, name, NULL, &xb, &unk);
+       g = mkGraph (G, NULL, name, &xb, &unk);
        agxbfree (&xb);
     }