]> granicus.if.org Git - graphviz/commitdiff
fix double scanning of plugins
authorJohn Ellson <ellson@research.att.com>
Mon, 21 Oct 2013 17:55:26 +0000 (13:55 -0400)
committerJohn Ellson <ellson@research.att.com>
Mon, 21 Oct 2013 17:55:26 +0000 (13:55 -0400)
lib/common/input.c

index 68c0606aca5351a303a6168481d389df38797c65..5a1c7ff79273fd339e737611a035b663381c0e65 100644 (file)
@@ -245,9 +245,10 @@ int dotneato_args_initialize(GVC_t * gvc, int argc, char **argv)
     /* configure for available plugins */
     /* needs to know if "dot -c" is set (gvc->common.config) */
     /* must happen before trying to select any plugins */
-    gvconfig(gvc, gvc->common.config);
-    if (gvc->common.config)
+    if (gvc->common.config) {
+        gvconfig(gvc, gvc->common.config);
        exit (0);
+    }
 
     /* feed the globals */
     Verbose = gvc->common.verbose;