]> granicus.if.org Git - graphviz/commitdiff
*** empty log message ***
authorellson <devnull@localhost>
Fri, 2 Jun 2006 23:37:57 +0000 (23:37 +0000)
committerellson <devnull@localhost>
Fri, 2 Jun 2006 23:37:57 +0000 (23:37 +0000)
tclpkg/gv/gv.cpp

index 342df477dd0b6cea05066af57da9c5eb675e61e7..4773d6b61397620669f347fcfe816d2dbf19222b 100644 (file)
@@ -70,6 +70,8 @@ Agraph_t *read(char *filename)
     f = fopen(filename, "r");
     if (!f)
        return NULL;
+    if (!gvc)
+       gvc = gvContext();
     g = agread(f);
     fclose(f);
     return g;