]> granicus.if.org Git - graphviz/commitdiff
Refresh display before adding new graph
authorerg <devnull@localhost>
Tue, 23 Jun 2009 22:14:25 +0000 (22:14 +0000)
committererg <devnull@localhost>
Tue, 23 Jun 2009 22:14:25 +0000 (22:14 +0000)
cmd/smyrna/gvprpipe.c

index f5045f65a868bef4108de35635241d36c1cc369f..a387fd97ec78a68b397cf05dfbdc0db8553ca330 100644 (file)
@@ -75,6 +75,7 @@ int run_gvpr (Agraph_t* srcGraph, int argc, char* argv[])
        fprintf (stderr, "Error in gvpr\n");
     }
     else if (opts.n_outgraphs) {
+       refreshViewport ();
        add_graph_to_viewport(opts.outgraphs[0]);
        for (i = 1; i < opts.n_outgraphs; i++)
            agclose (opts.outgraphs[i]);