]> granicus.if.org Git - graphviz/commitdiff
Use type:dependency:library syntax for loadimage plugins as well
authorellson <devnull@localhost>
Fri, 7 Sep 2007 20:28:24 +0000 (20:28 +0000)
committerellson <devnull@localhost>
Fri, 7 Sep 2007 20:28:24 +0000 (20:28 +0000)
Show full plugin details with "dot -v2" and abbreviated detail with "dot -v"

lib/gvc/gvloadimage.c

index abb112a8e67ff794cc69443b993c0afd728f403b..42b64d07f0925a211a39f3124347d82d72378192 100644 (file)
@@ -34,7 +34,7 @@
 /* for agerr() */
 #include "graph.h"
 
-int gvloadimage_select(GVJ_t * job, char *str)
+static int gvloadimage_select(GVJ_t * job, char *str)
 {
     gvplugin_available_t *plugin;
     gvplugin_installed_t *typeptr;
@@ -55,7 +55,7 @@ void gvloadimage(GVJ_t * job, usershape_t *us, boxf b, boolean filled, char *tar
     char type[SMALLBUF];
 
     strcpy(type, us->stringtype);
-    strcat(type, "2");
+    strcat(type, ":");
     strcat(type, target);
 
     if (gvloadimage_select(job, type) == NO_SUPPORT)