]> granicus.if.org Git - graphviz/commitdiff
split out the dot layout engine into its own plugin.
authorellson <devnull@localhost>
Tue, 5 Apr 2005 02:24:08 +0000 (02:24 +0000)
committerellson <devnull@localhost>
Tue, 5 Apr 2005 02:24:08 +0000 (02:24 +0000)
lib/gvc/gvconfig.c

index 735f6a84400afab5df9424be1528654370146432..ceb0fb744920bbc377f437b94ff78a109a2ceef0 100644 (file)
@@ -159,7 +159,7 @@ void gvconfig(GVC_t * gvc)
 
     rc = stat(libdir, &libdir_st);
     if (rc == -1) {    /* if we fail to stat it then it probably doesn't exist
-                  so just fail silently, clean up and return */
+                  so just fail silently */
        return;
     }
 
@@ -187,7 +187,6 @@ void gvconfig(GVC_t * gvc)
        strcat(config_glob, plugin_glob);
 
        rc = glob(config_glob, GLOB_NOSORT, NULL, &globbuf);
-
         if (rc == 0) {
            for (j = 0; j < globbuf.gl_pathc; j++) {
                library = gvplugin_library_load(globbuf.gl_pathv[j]);
@@ -202,7 +201,6 @@ void gvconfig(GVC_t * gvc)
                            /* might as well install it since its already loaded */
                            gvplugin_install(gvc, apis->api, types[i].type,
                                 types[i].quality, library->name, &types[i]);
-
                            fprintf(f, "\t\t%s %d\n",
                                types[i].type, types[i].quality);
                        }