]> granicus.if.org Git - graphviz/commitdiff
Merge formatter and device plugin apis.
authorellson <devnull@localhost>
Wed, 29 Aug 2007 19:39:49 +0000 (19:39 +0000)
committerellson <devnull@localhost>
Wed, 29 Aug 2007 19:39:49 +0000 (19:39 +0000)
Selecting device by format, e.g. -Tsvgz, or -Tpng:cairo:gd
Automatically load correct renderer, e.g. cairo, gd, core_dot
Improve plugin listings.
Accurately reflecte available formats.

lib/gvc/gvjobs.c

index c839a9f8e45cd40419a289ef253f0629e618a66d..4cdb9e33e3f85ba50fdf185911b585f90635cc69 100644 (file)
@@ -84,7 +84,7 @@ boolean gvjobs_output_langname(GVC_t * gvc, char *name)
     output_langname_job->gvc = gvc;
 
     /* load it now to check that it exists */
-    if (gvplugin_load(gvc, API_render, name))
+    if (gvplugin_load(gvc, API_device, name))
        return TRUE;
     return FALSE;
 }